public function addCollection(RequirementCollection $collection) { $this->requirements = array_merge($this->requirements, $collection->all()); }