| @@ 68-80 (lines=13) @@ | ||
| 65 | /** |
|
| 66 | * @inheritDoc |
|
| 67 | */ |
|
| 68 | public function isEmpty() { |
|
| 69 | if ($this->version !== null) { |
|
| 70 | return false; |
|
| 71 | } |
|
| 72 | if ($this->meta !== null && $this->meta->isEmpty() === false) { |
|
| 73 | return false; |
|
| 74 | } |
|
| 75 | if ($this->hasAtMembers()) { |
|
| 76 | return false; |
|
| 77 | } |
|
| 78 | ||
| 79 | return true; |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @inheritDoc |
|
| @@ 71-83 (lines=13) @@ | ||
| 68 | /** |
|
| 69 | * @inheritDoc |
|
| 70 | */ |
|
| 71 | public function isEmpty() { |
|
| 72 | if ($this->href !== null) { |
|
| 73 | return false; |
|
| 74 | } |
|
| 75 | if ($this->meta !== null && $this->meta->isEmpty() === false) { |
|
| 76 | return false; |
|
| 77 | } |
|
| 78 | if ($this->hasAtMembers()) { |
|
| 79 | return false; |
|
| 80 | } |
|
| 81 | ||
| 82 | return true; |
|
| 83 | } |
|
| 84 | ||
| 85 | /** |
|
| 86 | * @inheritDoc |
|
| @@ 157-169 (lines=13) @@ | ||
| 154 | /** |
|
| 155 | * @inheritDoc |
|
| 156 | */ |
|
| 157 | public function isEmpty() { |
|
| 158 | if ($this->type !== null || $this->id !== null) { |
|
| 159 | return false; |
|
| 160 | } |
|
| 161 | if ($this->meta !== null && $this->meta->isEmpty() === false) { |
|
| 162 | return false; |
|
| 163 | } |
|
| 164 | if ($this->hasAtMembers()) { |
|
| 165 | return false; |
|
| 166 | } |
|
| 167 | ||
| 168 | return true; |
|
| 169 | } |
|
| 170 | ||
| 171 | /** |
|
| 172 | * @inheritDoc |
|