1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- /**
- *
- * Cube Framework $Id$ cGuCBhnK3ZR7LfiaTh/+jKws/xh/4x1YgXlJUzmIQgs=
- *
- * @link http://codecu.be/framework
- * @copyright Copyright (c) 2014 CodeCube SRL
- * @license http://codecu.be/framework/license Commercial License
- *
- * @version 1.0
- */
- /**
- * acl role class
- */
- namespace Cube\Permissions;
- class Role implements RoleInterface
- {
- /**
- *
- * role id
- *
- * @var string
- */
- protected $_id;
- /**
- *
- * class constructor
- *
- * @param string $id
- */
- public function __construct($id)
- {
- $this->_id = (string) $id;
- }
- /**
- *
- * get role id
- *
- * @return string
- */
- public function getId()
- {
- return $this->_id;
- }
- }
|