public function getOperation($operationName)
    {
        return isset($this->operations[$operationName])? $this->operations[$operationName]: null;
    }
public function getOperation($operationName)
    {
        return isset($this->operations[$operationName])? $this->operations[$operationName]: null;
    }
public function getOperation ( $ operationName ) { return isset ( $ this -> operations [ $ operationName ] ) ? $ this -> operations [ $ operationName ] : null ; }
Returns an operation provided by the service based on its name.

@param string $operationName The name of the operation.

@return Operation|null The operation or null if it does not exist.
Returns an operation provided by the service based on its name .