/** * Searches the specs that produce resources and sorts the list. * The result will be saved to $producingSpecs. */ protected function searchProducingSpecs() { $this->producingSpecs = Spec::getByAttr('producing'); }