mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
33 lines
553 B
PHP
33 lines
553 B
PHP
<?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;
|
|
}
|
|
}
|