public function getByNumeric($numeric) { if (!preg_match('/^[0-9]{3}$/', $numeric)) { throw new \DomainException('Not a valid numeric: ' . $numeric); } return $this->get($numeric); }