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

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

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

@param int $value
Add a new element to public_dependency