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)
*/
namespace Tebru\Gson\Annotation;
use Tebru\AnnotationReader\AbstractAnnotation;
/**
* Class VirtualProperty
*
* This allows a method to be used as a property during serialization only. This
* is helpful if your serialized models need to contain extra properties. For example,
* an aggregate of two separate properties on the model.
* @author Nate Brunette <[email protected]>
* @Annotation
* @Target({"METHOD"})
class VirtualProperty extends AbstractAnnotation
{
* Initialize annotation data
protected function init(): void
}