PHP Class ParagonIE\EasyDB\Factory

Mostrar archivo Open project: paragonie/easydb Class Usage Examples

Public Methods

Method Description
create ( string $dsn, string $username = null, string $password = null, array $options = [] ) : EasyDB Create a new EasyDB object based on PDO constructors

Method Details

create() public static method

Create a new EasyDB object based on PDO constructors
public static create ( string $dsn, string $username = null, string $password = null, array $options = [] ) : EasyDB
$dsn string
$username string
$password string
$options array
return EasyDB