for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Er1z\FakeMock\Annotations;
use Doctrine\Common\Annotations\Annotation;
/**
* Class FakeAnnotation.
*
* @Annotation()
*/
class FakeMock
{
* use asserts within field type guessing process.
* @var bool
public $useAsserts = true;
* consider conditions such as LowerThan, EqualsTo as to be satisfied.
public $satisfyAssertsConditions = true;
* Map interfaces/abstracts/so on to desired classes.
* @var string[]
public $classMappings = [];
* Map sub-objects if class type is specified.
public $recursive = true;
* Locale to generate string for.
* @var null|string
public $locale = null;
public function __construct($data = [])
foreach ($data as $k => $v) {
$this->$k = $v;
}