getSlot() публичный Метод

public getSlot ( )
Пример #1
0
 /**
  * @group disconnected
  */
 public function testSetAndGetHash()
 {
     $slot = 1024;
     $arguments = array('SET', 'key', 'value');
     $command = new RawCommand($arguments);
     $this->assertNull($command->getSlot());
     $command->setSlot($slot);
     $this->assertSame($slot, $command->getSlot());
     $command->setArguments(array('hoge', 'piyo'));
     $this->assertNull($command->getSlot());
 }