Kraken\Util\Invoker\InvokerInterface::call PHP Method

call() public method

Call function $func with given arguments $args.
public call ( string $func, mixed[] $args = [] ) : mixed
$func string
$args mixed[]
return mixed
    public function call($func, $args = []);

Usage Example

Beispiel #1
0
 /**
  * @override
  * @inheritDoc
  */
 public function clearEnvironmentVariable($name)
 {
     if (strpos($name, 'INI_') === 0) {
         $normalized = str_replace('INI_', '', $name);
         $normalized = strtolower($normalized);
         $this->invoker->call('ini_restore', [$normalized]);
     }
     parent::clearEnvironmentVariable($name);
 }
All Usage Examples Of Kraken\Util\Invoker\InvokerInterface::call