acl->checkScope(EmailEntity::ENTITY_TYPE, Table::ACTION_CREATE)) { throw new Forbidden(); } $data = $this->service->getData( $request->getQueryParam('parentType'), $request->getQueryParam('parentId'), $request->getQueryParam('to') ); return ResponseComposer::json($data); } }