コード例 #1
0
 /**
  * @return bool
  */
 public final function validate()
 {
     return Utils::noEmptyItems([$this->getWidth(), $this->getHeight(), $this->getDepth(), $this->getQuantity(), $this->getItemIdentifier(), $this->getWeight()]);
 }
コード例 #2
0
 /**
  * @return bool
  * @throws \Exception
  */
 public final function validate()
 {
     return Utils::noEmptyItems([$this->getWidth(), $this->getHeight(), $this->getDepth(), $this->getIdentifier(), $this->getMaxWeight(), $this->getInternalIdentifier()]);
 }