name); } /** * @return bigint */ public function getId() { return $this->id; } /** * @param string $name * * @return NetGroup */ public function setName($name) { $this->name = $name; return $this; } /** * @return string */ public function getName() { return $this->name; } /** * @param string $opcode * * @return NetGroup */ public function setOpcode($opcode) { $this->opcode = $opcode; return $this; } /** * @return string */ public function getOpcode() { return $this->opcode; } /** * @return array */ public function getEntitiesForRemove() { $entities = []; if ($this->subNets->count() != 0) { $entities['subNets'] = $this->subNets; } return $entities; } }