Predis\Profile\Factory::getDevelopment PHP 메소드

getDevelopment() 공개 정적인 메소드

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

Usage Example

예제 #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