@@ 198-210 (lines=13) @@ | ||
195 | * @return bool |
|
196 | * @throws \Exception |
|
197 | */ |
|
198 | final public function validate() |
|
199 | { |
|
200 | return Utils::noEmptyItems( |
|
201 | [ |
|
202 | $this->getWidth(), |
|
203 | $this->getHeight(), |
|
204 | $this->getDepth(), |
|
205 | $this->getIdentifier(), |
|
206 | $this->getMaxWeight(), |
|
207 | $this->getInternalIdentifier(), |
|
208 | ] |
|
209 | ); |
|
210 | } |
|
211 | ||
212 | /** |
|
213 | * @return mixed |
@@ 206-216 (lines=11) @@ | ||
203 | /** |
|
204 | * @return bool |
|
205 | */ |
|
206 | final public function validate() |
|
207 | { |
|
208 | return Utils::noEmptyItems([ |
|
209 | $this->getWidth(), |
|
210 | $this->getHeight(), |
|
211 | $this->getDepth(), |
|
212 | $this->getQuantity(), |
|
213 | $this->getItemIdentifier(), |
|
214 | $this->getWeight(), |
|
215 | ]); |
|
216 | } |
|
217 | ||
218 | /** |
|
219 | * @return mixed |