public function addLeadingDetachedComments($value)
    {
        if ($this->leading_detached_comments === null) {
            $this->leading_detached_comments = new \Protobuf\ScalarCollection();
        }

        $this->leading_detached_comments->add($value);
    }
public function addLeadingDetachedComments($value)
    {
        if ($this->leading_detached_comments === null) {
            $this->leading_detached_comments = new \Protobuf\ScalarCollection();
        }

        $this->leading_detached_comments->add($value);
    }
public function addLeadingDetachedComments ( $ value ) { if ( $ this -> leading_detached_comments === null ) { $ this -> leading_detached_comments = new \ Protobuf \ ScalarCollection ( ) ; } $ this -> leading_detached_comments -> add ( $ value ) ; }
Add a new element to 'leading_detached_comments'

@param string $value
Add a new element to leading_detached_comments