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