for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Charcoal\User\Acl;
use Charcoal\Translation\TranslationString;
use Charcoal\Object\Content;
use Charcoal\Object\CategoryInterface;
use Charcoal\Object\CategoryTrait;
/**
* User permission category
*/
class PermissionCategory extends Content implements CategoryInterface
{
use CategoryTrait;
* @var TranslationString $name
private $name;
* @param mixed $name The news category name (localized).
* @return NewsCategory Chainable
public function setName($name)
$this->name = new TranslationString($name);
return $this;
}
* @return TranslationString
public function name()
return $this->name;
* @return array
public function loadCategoryItems()
return [];