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

        $this->dependency->add($value);
    }