/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/View/Asset/PropertyGroup.php
50 строк
878 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\View\Asset; /** * Association of arbitrary properties with a list of page assets */ class PropertyGroup extends Collection { /** * Properties * * @var array */ protected $properties = []; /** * Constructor * * @param array $properties */ public function __construct(array $properties) { $this->properties = $properties; } /** * Retrieve values of all properties * * @return array */ public function getProperties() { return $this->properties; } /** * Retrieve value of an individual property * * @param string $name * @return mixed */ public function getProperty($name) { return $this->properties[$name] ?? null; } }