for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\Foundry\Tests\Fixtures\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\EmbeddedDocument
*/
class User
{
* @MongoDB\Field(type="string")
private $name;
public function __construct(string $name)
$this->name = $name;
}
public function getName(): ?string
return $this->name;