src/Statement.php
protected function prepare()
        {
            if (!Core::getDBlink() instanceof \PDO) {
                throw new Exception('Connection not up, can\'t prepare the statement');
            }

            $this->statement = Core::getDBlink()->prepare($this->query->getSql());
        }
protected function prepare()
        {
            if (!Core::getDBlink() instanceof \PDO) {
                throw new Exception('Connection not up, can\'t prepare the statement');
            }

            $this->statement = Core::getDBlink()->prepare($this->query->getSql());
        }
protected function prepare ( ) { if ( ! Core :: getDBlink ( ) instanceof \ PDO ) { throw new Exception ( 'Connection not up, can\'t prepare the statement' ) ; } $ this -> statement = Core :: getDBlink ( ) -> prepare ( $ this -> query -> getSql ( ) ) ; }
Prepare the statement
Prepare the statement