/** * @param string * @return int|NULL */ public function filterIn($composerFullName) { $row = $this->addons->findOneByComposerFullName($composerFullName); if (!$row) { return NULL; } return $row->id; }