src/LazyPDO.php
protected function getPDO()
    {
        if (null === $this->pdo) {
            $this->pdo = new \PDO($this->dsn, $this->user, $this->password, $this->options);
        }
        return $this->pdo;
    }
protected function getPDO()
    {
        if (null === $this->pdo) {
            $this->pdo = new \PDO($this->dsn, $this->user, $this->password, $this->options);
        }
        return $this->pdo;
    }
protected function getPDO ( ) { if ( null === $ this -> pdo ) { $ this -> pdo = new \ PDO ( $ this -> dsn , $ this -> user , $ this -> password , $ this -> options ) ; } return $ this -> pdo ; }
Get PDO object. Cache the result

@return \PDO
Get PDO object . Cache the result