for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Eziat\PermissionBundle\Entity;
use Eziat\PermissionBundle\Model\PermissionInterface;
/**
* @author Tomas Jakl <[email protected]>
*/
abstract class Permission implements PermissionInterface
{
* @var string
protected $name = '';
protected $description = '';
* {@inheritdoc}
public function setName(string $name) : PermissionInterface
$this->name = $name;
return $this;
}
public function getName() : string
return $this->name;
public function setDescription(string $description) : PermissionInterface
$this->description = $description;
public function getDescription() : string
return $this->description;