Files
2024-07-15 11:28:08 +02:00

36 lines
754 B
PHP

<?php
/**
* @package awf
* @copyright Copyright (c)2014-2019 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU GPL version 3 or later
*/
namespace Awf\Utils;
/**
* The Session package in Awf is based on the Session package in Aura for PHP. Please consult the LICENSE file in the
* Awf\Session package for copyright and license information.
*/
/**
* Intercept calls to PHP functions.
*/
class Phpfunc
{
/**
*
* Magic call to intercept any function pass to it.
*
* @param string $func The function to call.
*
* @param array $args Arguments passed to the function.
*
* @return mixed The result of the function call.
*
*/
public function __call($func, $args)
{
return call_user_func_array($func, $args);
}
}