public function setToPostfix($toPostfix)
    {
        if (!is_string($toPostfix) || empty($toPostfix)) {
            throw new InvalidArgumentException('"To postfix" argument must be string and must not be empty.');
        }

        $this->toPostfix = $toPostfix;

        return $this;
    }
public function setToPostfix($toPostfix)
    {
        if (!is_string($toPostfix) || empty($toPostfix)) {
            throw new InvalidArgumentException('"To postfix" argument must be string and must not be empty.');
        }

        $this->toPostfix = $toPostfix;

        return $this;
    }
public function setToPostfix ( $ toPostfix ) { if ( ! is_string ( $ toPostfix ) || empty ( $ toPostfix ) ) { throw new InvalidArgumentException ( '"To postfix" argument must be string and must not be empty.' ) ; } $ this -> toPostfix = $ toPostfix ; return $ this ; }
Sets "to" name postfix.

@param string $toPostfix

@return static
@throws InvalidArgumentException On invalid argument
Sets to name postfix .