ManaPHP\Di::__call PHP Method

__call() public method

Magic method to get or set services using setters/getters
public __call ( string $method, array $arguments = [] ) : void
$method string
$arguments array
return void
    public function __call($method, $arguments = [])
    {
        throw new DiException('Call to undefined method `:method`', ['method' => $method]);
    }