Embera\Formatter::__call PHP Метод

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

Truly decorate the embera object. With this method Im preserving compatability with the API of the decorated object.
public __call ( string $method, array $args ) : mixed
$method string
$args array
Результат mixed
    public function __call($method, $args)
    {
        if (is_callable(array($this->embera, $method))) {
            return call_user_func_array(array($this->embera, $method), $args);
        }
        throw new \InvalidArgumentException('No method ' . $method . ' was found');
    }