src/Factory.php
public static function create(
        string $dsn,
        string $username = null,
        string $password = null,
        array $options = []
    ): EasyDB {
        return static::fromArray([$dsn, $username, $password, $options]);
    }
public static function create(
        string $dsn,
        string $username = null,
        string $password = null,
        array $options = []
    ): EasyDB {
        return static::fromArray([$dsn, $username, $password, $options]);
    }
public static function create ( string $ dsn , string $ username = null , string $ password = null , array $ options = [ ] ) : EasyDB { return static :: fromArray ( [ $ dsn , $ username , $ password , $ options ] ) ; }
Create a new EasyDB object based on PDO constructors

@param string $dsn
@param string $username
@param string $password
@param array $options
@return \ParagonIE\EasyDB\EasyDB
@throws Issues\ConstructorFailed
Create a new EasyDB object based on PDO constructors