<?php
namespace ModulesAbstract\PluginReports\Report\Model\Filters; class UserAndOffice extends FilterAbstract { public function getValue() { return [ 'type' => $this->value['type'], 'entityId' => $this->value['entityId'], ]; } public function hasValue() { if ($this->value['type'] == NULL) { return false; } return true; } }