/** * @param string $dsn * @param string $user * @param string $pass * @param array $options */ public function __construct($dsn, $user, $pass, $options = array()) { $this->PDO = new \PDO($dsn, $user, $pass, $options); parent::__construct(ArchLog::init()); }
/** * @param \PDOStatement $PDOStatement * @param $queryId */ public function __construct(\PDOStatement $PDOStatement, $queryId) { $this->PDOStatement = $PDOStatement; parent::__construct($queryId); return $this; }