예제 #1
0
 /**
  * Constructor.
  *
  * @param array $attributes
  */
 public function __construct($attributes = [])
 {
     parent::__construct($attributes);
 }
예제 #2
0
파일: Input.php 프로젝트: stingbo/masapi
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct(array_merge($_GET, $_POST));
 }
예제 #3
0
파일: Input.php 프로젝트: raymonder/wechat
 /**
  * Constructor.
  *
  * @param string  $token
  * @param Cryptor $cryptor
  */
 public function __construct($token, Cryptor $cryptor)
 {
     parent::__construct($this->build($cryptor));
     $this->validate($token);
 }