public function addBody($lines) : bool
    {
        $retval = false;

        if (is_string($lines)) {
            $this->body[] = $lines;
            $retval = true;
        } elseif (is_array($lines)) {
            $this->body = array_merge($this->body, $lines);
            $retval = true;
        }

        return $retval;
    }
public function addBody($lines) : bool
    {
        $retval = false;

        if (is_string($lines)) {
            $this->body[] = $lines;
            $retval = true;
        } elseif (is_array($lines)) {
            $this->body = array_merge($this->body, $lines);
            $retval = true;
        }

        return $retval;
    }
public function addBody ( $ lines ) : bool { $ retval = false ; if ( is_string ( $ lines ) ) { $ this -> body [ ] = $ lines ; $ retval = true ; } elseif ( is_array ( $ lines ) ) { $ this -> body = array_merge ( $ this -> body , $ lines ) ; $ retval = true ; } return $ retval ; }
Adds a body fragment to the body.
@param mixed $lines A string or an array representing one or more lines of code in the body.
@return bool Returns true if lines are added.
Adds a body fragment to the body .