Pagekit\Database\Utility::__call PHP 메소드

__call() 공개 메소드

Proxy method call to database schema manager.
public __call ( string $method, array $args ) : mixed
$method string
$args array
리턴 mixed
    public function __call($method, $args)
    {
        if (!method_exists($this->manager, $method)) {
            throw new \BadMethodCallException(sprintf('Undefined method call "%s::%s"', get_class($this->manager), $method));
        }
        return call_user_func_array([$this->manager, $method], $args);
    }