protected function createPdoInstance()
    {
        //Empty attributes property cases exception in Yajra\Pdo\Oci8::__construct() method
        if (!is_array($this->attributes))
            $this->attributes = [];

        try {
            return parent::createPdoInstance();
        } catch(PDOException $e) {
            throw $e;
        }
    }
protected function createPdoInstance()
    {
        //Empty attributes property cases exception in Yajra\Pdo\Oci8::__construct() method
        if (!is_array($this->attributes))
            $this->attributes = [];

        try {
            return parent::createPdoInstance();
        } catch(PDOException $e) {
            throw $e;
        }
    }
protected function createPdoInstance ( ) { //Empty attributes property cases exception in Yajra\Pdo\Oci8::__construct() method if ( ! is_array ( $ this -> attributes ) ) $ this -> attributes = [ ] ; try { return parent :: createPdoInstance ( ) ; } catch ( PDOException $ e ) { throw $ e ; } }
Creates the PDO instance from Yajra\Pdo\Oci8 component
@exception PDOException
@return \PDO the pdo instance
Creates the PDO instance from Yajra \ Pdo \ Oci8 component