Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Facade.php
- namespace Iharos\Kernel\Facade;
- //namespace Iharos;
- //use Iharos\Kernel\Iharos;
- class Facade {
- public static function __callStatic($method, $args)
- {
- echo "<br>__callStatic, module ID: '" . static::getModuleId() . "'";
- $app = Iharos::getInstance();
- $class = $app->manifest( static::getModuleId() );
- return call_user_func_array(array($class, $method), $args);
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement