| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | 
							- <?php
 
- /**
 
-  * 
 
-  * Cube Framework $Id$ +rqEFxueOoj9b2UujXEvo+rn9PXBT+yo5sj3OD3y5ik= 
 
-  * 
 
-  * @link        http://codecu.be/framework
 
-  * @copyright   Copyright (c) 2014 CodeCube SRL
 
-  * @license     http://codecu.be/framework/license Commercial License
 
-  * 
 
-  * @version     1.0
 
-  */
 
- /**
 
-  * acl resource class
 
-  */
 
- namespace Cube\Permissions;
 
- class Resource implements ResourceInterface
 
- {
 
-     /**
 
-      *
 
-      * resource id
 
-      * 
 
-      * @var string
 
-      */
 
-     protected $_id;
 
-     /**
 
-      * 
 
-      * class constructor
 
-      * 
 
-      * @param string $id    the resource id/name
 
-      */
 
-     public function __construct($id)
 
-     {
 
-         $this->_id = (string) $id;
 
-     }
 
-     /**
 
-      * 
 
-      * get resource id
 
-      * 
 
-      * @return string       the resource id/name
 
-      */
 
-     public function getId()
 
-     {
 
-         return $this->_id;
 
-     }
 
- }
 
 
  |