Spaces:
No application file
No application file
| namespace Mautic\ApiBundle\Serializer\Exclusion; | |
| /** | |
| * Only include FormEntity properties for the top level entity and not the associated entities. | |
| */ | |
| class PublishDetailsExclusionStrategy extends FieldExclusionStrategy | |
| { | |
| public function __construct() | |
| { | |
| parent::__construct( | |
| [ | |
| 'isPublished', | |
| 'dateAdded', | |
| 'createdBy', | |
| 'dateModified', | |
| 'modifiedBy', | |
| 'checkedOut', | |
| 'checkedOutBy', | |
| ], | |
| 1 | |
| ); | |
| } | |
| } | |