Вход Регистрация
Файл: vendor/intervention/image/src/Interfaces/DrawableFactoryInterface.php
Строк: 51
<?php

declare(strict_types=1);

namespace 
InterventionImageInterfaces;

use 
Closure;

interface 
DrawableFactoryInterface
{
    
/**
     * Create a new factory instance statically
     *
     * @param null|Closure|DrawableInterface $init
     * @return DrawableFactoryInterface
     */
    
public static function init(null|Closure|DrawableInterface $init null): self;

    
/**
     * Create the end product of the factory
     *
     * @return DrawableInterface
     */
    
public function create(): DrawableInterface;

    
/**
     * Create the end product by invoking the factory
     *
     * @return DrawableInterface
     */
    
public function __invoke(): DrawableInterface;

    
/**
     * Define the background color of the drawable object
     *
     * @param mixed $color
     * @return DrawableFactoryInterface
     */
    
public function background(mixed $color): self;

    
/**
     * Set the border size & color of the drawable object to be produced
     *
     * @param mixed $color
     * @param int $size
     * @return DrawableFactoryInterface
     */
    
public function border(mixed $colorint $size 1): self;
}
Онлайн: 0
Реклама