public function addOperation($operation)
    {
        if (!in_array($operation, $this->operations, true)) {
            $this->operations[] = $operation;
        }
    }
public function addOperation($operation)
    {
        if (!in_array($operation, $this->operations, true)) {
            $this->operations[] = $operation;
        }
    }
public function addOperation ( $ operation ) { if ( ! in_array ( $ operation , $ this -> operations , true ) ) { $ this -> operations [ ] = $ operation ; } }
Adds a new operation to the list supported.

@param string $operation name of operation to parse for
Adds a new operation to the list supported .