PHP Class Snc\RedisBundle\DependencyInjection\Configuration\RedisDsn

Exibir arquivo Open project: snc/SncRedisBundle Class Usage Examples

Protected Properties

Property Type Description
$alias string
$database integer
$dsn string
$host string
$password string
$port integer
$socket string
$weight integer

Public Methods

Method Description
__construct ( string $dsn ) Constructor
getAlias ( ) : string
getDatabase ( ) : integer | null
getHost ( ) : string
getPassword ( ) : string
getPersistentId ( ) : string
getPort ( ) : integer
getSocket ( ) : string
getWeight ( ) : integer
isValid ( ) : boolean

Protected Methods

Method Description
parseDsn ( string $dsn )
parseParameters ( array $matches ) : string

Method Details

__construct() public method

Constructor
public __construct ( string $dsn )
$dsn string

getAlias() public method

public getAlias ( ) : string
return string

getDatabase() public method

public getDatabase ( ) : integer | null
return integer | null

getHost() public method

public getHost ( ) : string
return string

getPassword() public method

public getPassword ( ) : string
return string

getPersistentId() public method

public getPersistentId ( ) : string
return string

getPort() public method

public getPort ( ) : integer
return integer

getSocket() public method

public getSocket ( ) : string
return string

getWeight() public method

public getWeight ( ) : integer
return integer

isValid() public method

public isValid ( ) : boolean
return boolean

parseDsn() protected method

protected parseDsn ( string $dsn )
$dsn string

parseParameters() protected method

protected parseParameters ( array $matches ) : string
$matches array
return string

Property Details

$alias protected_oe property

protected string $alias
return string

$database protected_oe property

protected int $database
return integer

$dsn protected_oe property

protected string $dsn
return string

$host protected_oe property

protected string $host
return string

$password protected_oe property

protected string $password
return string

$port protected_oe property

protected int $port
return integer

$socket protected_oe property

protected string $socket
return string

$weight protected_oe property

protected int $weight
return integer