kahlan\Scope::__call PHP Метод

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

Allow closures assigned to the scope property to be inkovable.
public __call ( string $name, array $args ) : mixed
$name string Name of the method being called.
$args array Enumerated array containing the passed arguments.
Результат mixed
    public function __call($name, $args)
    {
        $property = null;
        $property = $this->__get($name);
        if (is_callable($property)) {
            return call_user_func_array($property, $args);
        }
        throw new Exception("Uncallable variable `{$name}`.");
    }