12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- /**
- * Default application path for backend area
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Backend\App;
- /**
- * Backend config accessor
- * @api
- * @since 100.0.2
- */
- interface ConfigInterface
- {
- /**
- * Retrieve config value by path
- *
- * Path should looks like keys imploded by "/". For example scopes/stores/admin
- *
- * @param string $path
- * @return mixed
- * @api
- */
- public function getValue($path);
- /**
- * Set config value
- *
- * @deprecated 100.1.2
- * @param string $path
- * @param mixed $value
- * @return void
- * @api
- */
- public function setValue($path, $value);
- /**
- * Retrieve config flag
- *
- * Path should looks like keys imploded by "/". For example scopes/stores/admin
- *
- * @param string $path
- * @return bool
- * @api
- */
- public function isSetFlag($path);
- }
|