phprs\util\SerializableFunc::__construct PHP Метод

__construct() публичный Метод

方法,绑定参数 如 func,arg1,arg2 array('a','method1'), arg1,arg2
public __construct ( )
    public function __construct()
    {
        $args = func_get_args();
        Verify::isTrue(count($args) > 0);
        Verify::isTrue(is_callable($args[0]));
        $this->func = $args[0];
        $this->bind = array_slice($args, 1);
    }
SerializableFunc