for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Accessible\Annotation;
/**
* @Annotation
* @Target("PROPERTY")
*/
class Initialize
{
* The value the property should be initialized to.
*
* @var mixed
private $value;
* Initializes the annotation.
* @param mixed $value The annotation's parameters.
public function __construct($value)
$this->value = $value['value'];
}
* Get the value the property should be initialized to.
* @return mixed The value.
public function getValue()
return $this->value;