src/Sismo/Storage/PdoStorage.php
public static function create($dsn, $username = null, $passwd = null, array $options = array())
    {
        return new self(new \PDO($dsn, $username, $passwd, $options));
    }
public static function create($dsn, $username = null, $passwd = null, array $options = array())
    {
        return new self(new \PDO($dsn, $username, $passwd, $options));
    }
public static function create ( $ dsn , $ username = null , $ passwd = null , array $ options = array ( ) ) { return new self ( new \ PDO ( $ dsn , $ username , $ passwd , $ options ) ) ; }
Create a PdoStorage by establishing a PDO connection.

@throws \PDOException If the attempt to connect to the requested database fails.

@param string $dsn      The data source name.
@param string $username The username to login with.
@param string $passwd   The password of the given user.
@param array  $options  Additional options to pass to the PDO driver.

@return PdoStorage The created storage on the defined connection.
Create a PdoStorage by establishing a PDO connection .