4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
22 namespace Civi\Api4\Event
;
24 use Civi\Api4\Generic\AbstractAction
;
25 use Symfony\Component\EventDispatcher\Event
as BaseEvent
;
27 class GetSpecEvent
extends BaseEvent
{
29 * @var \Civi\Api4\Generic\AbstractAction
34 * @param \Civi\Api4\Generic\AbstractAction $request
36 public function __construct(AbstractAction
$request) {
37 $this->request
= $request;
41 * @return \Civi\Api4\Generic\AbstractAction
43 public function getRequest() {
44 return $this->request
;
50 public function setRequest(AbstractAction
$request) {
51 $this->request
= $request;