for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Entity;
class AssociatedEntity
{
/**
* @var int
protected $plainField;
* @var Embeddable\EmbeddedEntity
protected $embeddedEntity;
* AssociatedEntity constructor.
* @param int $plainField
* @param Embeddable\EmbeddedEntity $embeddedEntity
public function __construct($plainField = null, Embeddable\EmbeddedEntity $embeddedEntity)
$this->plainField = $plainField;
$this->embeddedEntity = $embeddedEntity;
}
* @return int
public function getPlainField()
return $this->plainField;