Example #1
0
 private function __construct(Input $var)
 {
     if ($var instanceof Input) {
         $this->param = $var->post();
     }
 }
Example #2
0
 /**
  * Your constructor.
  * @access public
  */
 public function __construct(Link $link)
 {
     parent::__construct();
     $this->link = $link;
     $this->input = Input::make();
 }