public function addComment($comment)
    {
        if ($this->comments === null) {
            $this->comments = [];
        }
        $this->comments[] = $comment;
    }
public function addComment($comment)
    {
        if ($this->comments === null) {
            $this->comments = [];
        }
        $this->comments[] = $comment;
    }
public function addComment ( $ comment ) { if ( $ this -> comments === null ) { $ this -> comments = [ ] ; } $ this -> comments [ ] = $ comment ; }
Add a comment associated to this function.

@param string $comment
Add a comment associated to this function .