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

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

Get the array that represents this method
public method_array ( ) : callable
Результат callable An array that can be used as a function (O_o)
    public function method_array()
    {
        // Try the \Habari namespace if the class doesn't exist and the \Habari namespace works
        if (!is_object($this->class) && strpos($this->class, '\\') === false && !class_exists($this->class, true)) {
            if (class_exists('\\Habari\\' . $this->class)) {
                $this->class = '\\Habari\\' . $this->class;
            }
        }
        return array($this->class, $this->method);
    }