*** # Hook * Full name: `\Seven\Api\Resource\Hooks\Hook` ## Properties ### created ```php protected string $created ``` *** ### enabled ```php protected bool $enabled ``` *** ### eventFilter ```php protected ?string $eventFilter ``` *** ### eventType ```php protected string $eventType ``` *** ### id ```php protected int $id ``` *** ### requestMethod ```php protected string $requestMethod ``` *** ### targetUrl ```php protected string $targetUrl ``` *** ## Methods ### __construct ```php public __construct(object $data): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$data` | **object** | | *** ### getCreated ```php public getCreated(): string ``` *** ### getEventType ```php public getEventType(): string ``` *** ### getId ```php public getId(): int ``` *** ### getRequestMethod ```php public getRequestMethod(): string ``` *** ### getTargetUrl ```php public getTargetUrl(): string ``` *** ### getEventFilter ```php public getEventFilter(): ?string ``` *** ### isEnabled ```php public isEnabled(): bool ``` *** *** > Automatically generated on 2025-02-06