src/Cms/TenantBundle/Entity/TenantedEntities/ExternalTenantedEntity.php line 19

Open in your IDE?
  1. <?php
  2. namespace Cms\TenantBundle\Entity\TenantedEntities;
  3. use Cms\TenantBundle\Model\TenantableInterface;
  4. use Cms\TenantBundle\Model\TenantableTrait;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * This type if very free-form and flexible.
  8.  * It enforces the Tenant, but does not impose any ID structure.
  9.  * This is best used for when data is coming from an external resource and has its own ID.
  10.  *
  11.  * Class ExternalTenantedEntity
  12.  * @package Cms\TenantBundle\Entity\TenantedEntities
  13.  *
  14.  * @ORM\MappedSuperclass
  15.  */
  16. abstract class ExternalTenantedEntity implements TenantableInterface
  17. {
  18.     use TenantableTrait;
  19. }