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);
    }