예제 #1
0
파일: Predis.php 프로젝트: pietro/predis
 private function executeCommandInternal(IConnection $connection, Command $command)
 {
     $connection->writeCommand($command);
     if ($command->closesConnection()) {
         return $connection->disconnect();
     }
     return $connection->readResponse($command);
 }