/** * @param string * @return string|NULL */ public function filterOut($vendor) { $row = $this->addons->findByComposerVendor($vendor)->limit(1)->fetch(); if (!$row) { return NULL; } $addon = Addon::fromActiveRow($row); return $addon->composerVendor; }