Snc\RedisBundle\DependencyInjection\Configuration\RedisDsn::getSocket PHP Method

getSocket() public method

public getSocket ( ) : string
return string
    public function getSocket()
    {
        return $this->socket;
    }

Usage Example

Example #1
0
 /**
  * @param string $dsn    DSN
  * @param string $socket Socket
  *
  * @dataProvider socketValues
  */
 public function testSocket($dsn, $socket)
 {
     $dsn = new RedisDsn($dsn);
     $this->assertSame($socket, $dsn->getSocket());
 }