php-censor/PHPCI/Helper/User.php

19 lines
432 B
PHP
Raw Normal View History

2013-05-10 17:25:51 +02:00
<?php
2013-05-16 03:16:56 +02:00
/**
* PHPCI - Continuous Integration for PHP
*
* @copyright Copyright 2013, Block 8 Limited.
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
* @link http://www.phptesting.org/
*/
2013-05-10 17:25:51 +02:00
namespace PHPCI\Helper;
class User
{
public function __call($method, $params = array())
{
$user = \b8\Registry::getInstance()->get('user');
return call_user_func_array(array($user, $method), $params);
}
}