public static getDevelopment ( ) : Predis\Profile\ProfileInterface | ||
return | Predis\Profile\ProfileInterface |
public static function getDevelopment()
{
return self::get('dev');
}
/** * @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()); }