__construct() защищенный метод

Import the database object
protected __construct ( )
Пример #1
0
 /**
  * Initialize the object
  */
 protected function __construct()
 {
     parent::__construct();
     $this->strIp = \Environment::get('ip');
     $this->strHash = \Input::cookie($this->strCookie);
 }