Exemple #1
0
 /**
  * Add a operation to the service description
  *
  * @param OperationInterface $operation Operation to add
  *
  * @return self
  */
 public function addOperation(OperationInterface $operation)
 {
     $this->operations[$operation->getName()] = $operation->setServiceDescription($this);
     return $this;
 }