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

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

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

@param string $value
Add a new element to dependency