Back to CacheController class

Method __call

public mixed
__call
(mixed $name, mixed $arguments)
Magic method to proxy CacheController method calls to Cache
Parameters
  • string $name Name of the function
  • array $arguments Array of arguments for the function
Returns
  • mixed
Since
  • 1.7.0

Method __call - Source code

/**
 * Magic method to proxy CacheController method calls to Cache
 *
 * @param   string  $name       Name of the function
 * @param   array   $arguments  Array of arguments for the function
 *
 * @return  mixed
 *
 * @since   1.7.0
 */
public function __call($name, $arguments)
{
    return \call_user_func_array(array($this->cache, $name), $arguments);
}