Habari\Method::__invoke PHP Метод

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

Example: $fn = Method::create('Habari/Utils', 'debug'); $fn('foo'); // Calls Habari/Utils::debug('foo'); This magic method should not be called directly
public __invoke ( ) : mixed
Результат mixed The return value of the function this Method object represents
    public function __invoke()
    {
        $args = func_get_args();
        return call_user_func_array($this->method_array(), $args);
    }