| @@ 128-138 (lines=11) @@ | ||
| 125 | * |
|
| 126 | * @return bool |
|
| 127 | */ |
|
| 128 | public function isNew($domain, $key) |
|
| 129 | { |
|
| 130 | $notes = $this->getNotes($domain, $key); |
|
| 131 | foreach ($notes as $note) { |
|
| 132 | if ($note['content'] === 'status:new') { |
|
| 133 | return true; |
|
| 134 | } |
|
| 135 | } |
|
| 136 | ||
| 137 | return false; |
|
| 138 | } |
|
| 139 | ||
| 140 | /** |
|
| 141 | * @param string $domain |
|
| @@ 146-156 (lines=11) @@ | ||
| 143 | * |
|
| 144 | * @return bool |
|
| 145 | */ |
|
| 146 | public function isObsolete($domain, $key) |
|
| 147 | { |
|
| 148 | $notes = $this->getNotes($domain, $key); |
|
| 149 | foreach ($notes as $note) { |
|
| 150 | if ($note['content'] === 'status:obsolete') { |
|
| 151 | return true; |
|
| 152 | } |
|
| 153 | } |
|
| 154 | ||
| 155 | return false; |
|
| 156 | } |
|
| 157 | ||
| 158 | /** |
|
| 159 | * @param $domain |
|