D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
rest-api
/
vendor
/
jms
/
serializer
/
src
/
Annotation
/
Filename :
Exclude.php
back
Copy
<?php declare (strict_types=1); namespace PleskRestApi\JMS\Serializer\Annotation; /** * @Annotation * @Target({"PROPERTY", "CLASS", "METHOD", "ANNOTATION"}) */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD)] final class Exclude implements SerializerAttribute { use AnnotationUtilsTrait; /** * @var string|null */ public $if; public function __construct(array $values = [], ?string $if = null) { $this->loadAnnotationParameters(\get_defined_vars()); } }