. */ namespace SP\Mgmt\Notices; defined('APP_ROOT') || die(); use SP\Core\Exceptions\InvalidClassException; use SP\DataModel\NotificationData; use SP\Mgmt\ItemBaseInterface; use SP\Mgmt\ItemBaseTrait; /** * Class NoticeBase * * @package SP\Mgmt\Notices */ abstract class NoticeBase implements ItemBaseInterface { use ItemBaseTrait; /** * Inicializar la clase * * @return void * @throws InvalidClassException */ protected function init() { $this->setDataModel(NotificationData::class); } }