AlgoliaSearch\Laravel\AlgoliaEloquentTrait::__call PHP 메소드

__call() 공개 메소드

public __call ( $method, $parameters ) : mixed
$method
$parameters
리턴 mixed Catch static calls call from within a class. Example : static::method();
    public function __call($method, $parameters)
    {
        $overload_method = '_' . $method;
        if (method_exists($this, $overload_method)) {
            return call_user_func_array([$this, $overload_method], $parameters);
        }
        return parent::__call($method, $parameters);
    }