for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YAWIK
*
* @filesource
* @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
* @license MIT
* @author Miroslav Fedeleš <[email protected]>
* @since 0.28
*/
namespace Core\Entity;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
* @ODM\EmbeddedDocument
class AttachedEntityReference
{
* @var string
* @ODM\String
protected $repository;
protected $entityId;
* @return string
public function getRepository()
return $this->repository;
}
* @param string $repository
* @return AttachedEntityReference
public function setRepository($repository)
$this->repository = $repository;
return $this;
public function getEntityId()
return $this->entityId;
* @param string $entityId
public function setEntityId($entityId)
$this->entityId = $entityId;