1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\App;
- /**
- * Class ScopeDefault
- */
- class ScopeDefault implements ScopeInterface
- {
- /**
- * Retrieve scope code
- *
- * @return string
- */
- public function getCode()
- {
- return '';
- }
- /**
- * Get scope identifier
- *
- * @return int
- */
- public function getId()
- {
- return 0;
- }
- /**
- * Get scope type
- *
- * @return string
- */
- public function getScopeType()
- {
- return self::SCOPE_DEFAULT;
- }
- /**
- * Get scope type name
- *
- * @return string
- */
- public function getScopeTypeName()
- {
- return 'Default Scope';
- }
- /**
- * Get scope name
- *
- * @return string
- */
- public function getName()
- {
- return 'Default';
- }
- }
|