12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- /**
- * Root ACL Resource
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Acl;
- /**
- * @api
- * @since 100.0.2
- */
- class RootResource
- {
- /**
- * Root resource id
- *
- * @var string
- */
- protected $_identifier;
- /**
- * @param string $identifier
- */
- public function __construct($identifier)
- {
- $this->_identifier = $identifier;
- }
- /**
- * Retrieve root resource id
- *
- * @return string
- */
- public function getId()
- {
- return $this->_identifier;
- }
- }
|