public function addFlag($flag)
    {
        if (!in_array($flag, $this->flags, true)) {
            $this->flags[] = $flag;
        }

        return $this;
    }
public function addFlag($flag)
    {
        if (!in_array($flag, $this->flags, true)) {
            $this->flags[] = $flag;
        }

        return $this;
    }
public function addFlag ( $ flag ) { if ( ! in_array ( $ flag , $ this -> flags , true ) ) { $ this -> flags [ ] = $ flag ; } return $ this ; }
Adds a new flag for this translation.

@param string $flag

@return self
Adds a new flag for this translation .