public function addDependency($dependency) { $dependency = $this->canonicalUrl($dependency); $this->dependencies[] = $dependency; }
public function found(Environment $environment, $data) { $environment->addDependency($data); }