for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Tests\Models\ValueGenerators;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Sequencing\Generator;
class FooGenerator implements Generator
{
public const VALUE = 'foo';
public function generate(EntityManagerInterface $em, $entity) : string
return self::VALUE;
}
public function isPostInsertGenerator() : bool
return false;