示例#1
0
文件: Order.php 项目: ekyna/commerce
 /**
  * @inheritdoc
  */
 public function hasItems()
 {
     return 0 < $this->items->count();
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function countItems()
 {
     return $this->items->count();
 }
示例#3
0
 /**
  * @inheritdoc
  */
 public function hasChildren()
 {
     return 0 < $this->children->count();
 }