call_user_func_array

Supported Versions: PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8
Call a callback with an array of parameters
<?php call_user_func_array(callable $callback, array $args): mixed
<?php     {

        $this->hydrate();



        return call_user_func_array([$this, 'traitData'], func_get_args());

    }



    public function hydrate()
<?php     {

        $model = $this->config['model'];



        return call_user_func_array([$model, $method], $args);

    }



    public function query()
<?php                 throw new MethodNotFoundException("The `$method` method doesn't exist.");

            }



            $collection = call_user_func_array([$collection, $method], (array) $arguments);

        }



        return $collection;
<?php     public function __call($method, $args)

    {

        return call_user_func_array([$this->disk(), $method], $args);

    }

}
<?php     public function authorize($root, array $args, $ctx, ResolveInfo $resolveInfo = null, Closure $getSelectFields = null): bool

    {

        if (static::$auth) {

            return call_user_func_array(static::$auth, [$root, $args, $ctx, $resolveInfo, $getSelectFields]);

        }



        return true;
<?php {

    public static function __callStatic($method, $parameters)

    {

        return call_user_func_array([StaticStringy::class, $method], $parameters);

    }
<?php                 }

            }



            $replacement = call_user_func_array($this->callback, [$this, $name, $parameters, $content, $data]);