public function __construct(BasePDO $_pdo, AbstractAuth $_auth)
 {
     $this->_auth = $_auth;
     $_auth->validate();
     parent::__construct($_pdo);
 }
Пример #2
0
 public function __construct(BasePDO $_pdo)
 {
     $this->startSession();
     parent::__construct($_pdo);
 }