Predis\Profile\Factory::getDevelopment PHP Méthode

getDevelopment() public static méthode

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

Usage Example

 /**
  * @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