1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Theme\Model\Design\Config;
- class MetadataProvider implements MetadataProviderInterface
- {
- /**
- * @var array
- */
- protected $metadata;
- /**
- * @param array $metadata
- */
- public function __construct(array $metadata)
- {
- $this->metadata = $metadata;
- }
- /**
- * @inheritdoc
- *
- * @return array
- */
- public function get()
- {
- return $this->metadata;
- }
- }
|