for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tahoe\Bundle\MultiTenancyBundle\Model;
/**
* Trait TenantTrait
*
* @author Konrad Podgórski <[email protected]>
*/
trait TenantTrait
{
* @var MultiTenantTenantInterface
protected $tenant;
* @return MultiTenantTenantInterface
public function getTenant()
return $this->tenant;
}
* @param MultiTenantTenantInterface $tenant
* @return $this
public function setTenant($tenant)
$this->tenant = $tenant;
return $this;