order); if (!$operation->enable()) { return null; } $result['name'] = $operation->getName(); $result['value'] = $operation->getValue(); $result['api'] = $operation->getApi(); $result['type'] = $operation->getType(); return $result; }, $this->getStatus()); $button = array_filter($button); return array_values($button) ? : []; } }