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

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

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

@param int $value
Add a new element to weak_dependency