Eloquent\Phony\Mock\Builder\Method\CustomMethodDefinition::__construct PHP Метод

__construct() публичный Метод

Construct a new custom method definition.
public __construct ( boolean $isStatic, string $name, callable $callback, ReflectionFunctionAbstract $method )
$isStatic boolean True if this method is static.
$name string The name.
$callback callable The callback.
$method ReflectionFunctionAbstract The function implementation.
    public function __construct($isStatic, $name, $callback, ReflectionFunctionAbstract $method)
    {
        $this->isStatic = $isStatic;
        $this->name = $name;
        $this->callback = $callback;
        $this->method = $method;
    }