Thruway\Call::getRegistration PHP Méthode

getRegistration() public méthode

Get registration
public getRegistration ( ) : Registration
Résultat Registration
    public function getRegistration()
    {
        return $this->registration;
    }

Usage Example

Exemple #1
0
 /**
  * Remove all references to Call to it can be GCed
  *
  * @param Call $call
  */
 public function removeCall(Call $call)
 {
     $newQueue = new \SplQueue();
     while (!$this->callQueue->isEmpty()) {
         $c = $this->callQueue->dequeue();
         if ($c === $call) {
             continue;
         }
         $newQueue->enqueue($c);
     }
     $this->callQueue = $newQueue;
     $registration = $call->getRegistration();
     if ($registration) {
         $registration->removeCall($call);
     }
 }
All Usage Examples Of Thruway\Call::getRegistration