Note that the newly created role is not added to the RBAC system yet.
You must fill in the needed data and call ManagerInterface::add to add it to the system.
public createRole ( string $name ) : |
||
$name | string | the role name |
return | the new Role object |