public function get_properties() { $boxes = $this->get_boxes(); $list = []; foreach ($boxes as $box) { foreach ($box->properties as $property) { $list[] = $property; } } return $list; }