src/Defender/Contracts/Repositories/RoleRepository.php
<?php
namespace Artesaos\Defender\Contracts\Repositories;
/**
* Interface RoleRepository.
*/
interface RoleRepository extends AbstractRepository
{
/**
* Create a new role with the given name.
*
* @param string $roleName
*
* @throws \Exception
*
* @return \Artesaos\Defender\Role
*/
public function create($roleName);
}