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