for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Copyright (c) Nate Brunette.
* Distributed under the MIT License (http://opensource.org/licenses/MIT)
*/
declare(strict_types=1);
namespace Tebru\Gson\Annotation;
use Tebru\AnnotationReader\AbstractAnnotation;
/**
* Class ExclusionStrategy
*
* Use this annotation to exclude serialization or deserialization of a property
* that would otherwise be included.
* @author Nate Brunette <[email protected]>
* @Annotation
* @Target({"CLASS", "PROPERTY", "METHOD"})
class ExclusionStrategy extends AbstractAnnotation
{
* Returns true if multiple annotations of this type are allowed
* @return bool
public function allowMultiple(): bool
return true;
}