| @@ 55-68 (lines=14) @@ | ||
| 52 | /** | |
| 53 | * @inheritdoc | |
| 54 | */ | |
| 55 | public function findCache($identifier) | |
| 56 |     { | |
| 57 | ||
| 58 |         if ($model = parent::findCache($identifier)) { | |
| 59 | return $model; | |
| 60 | } | |
| 61 | ||
| 62 |         if (!is_numeric($identifier)) { | |
| 63 | return null; | |
| 64 | } | |
| 65 | ||
| 66 | return $this->findCacheById($identifier); | |
| 67 | ||
| 68 | } | |
| 69 | ||
| 70 | /** | |
| 71 | * @inheritdoc | |
| @@ 54-67 (lines=14) @@ | ||
| 51 | /** | |
| 52 | * @inheritdoc | |
| 53 | */ | |
| 54 | public function findCache($identifier) | |
| 55 |     { | |
| 56 | ||
| 57 |         if ($object = parent::findCache($identifier)) { | |
| 58 | return $object; | |
| 59 | } | |
| 60 | ||
| 61 |         if (!is_numeric($identifier)) { | |
| 62 | return null; | |
| 63 | } | |
| 64 | ||
| 65 | return $this->findCacheById($identifier); | |
| 66 | ||
| 67 | } | |
| 68 | ||
| 69 | /** | |
| 70 | * @inheritdoc | |