Predis\Profile\Factory::getDevelopment PHP Method

getDevelopment() public static method

Returns the development server profile.
public static getDevelopment ( ) : Predis\Profile\ProfileInterface
return Predis\Profile\ProfileInterface
    public static function getDevelopment()
    {
        return self::get('dev');
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @group disconnected
  */
 public function testGetDevelopment()
 {
     $profile1 = Factory::get('dev');
     $profile2 = Factory::getDevelopment();
     $this->assertInstanceOf('Predis\\Profile\\ProfileInterface', $profile1);
     $this->assertInstanceOf('Predis\\Profile\\ProfileInterface', $profile2);
     $this->assertEquals(self::DEVELOPMENT_PROFILE_VERSION, $profile2->getVersion());
 }
All Usage Examples Of Predis\Profile\Factory::getDevelopment