Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PropertyGroup.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  protected $properties = [];
19 
25  public function __construct(array $properties)
26  {
27  $this->properties = $properties;
28  }
29 
35  public function getProperties()
36  {
37  return $this->properties;
38  }
39 
46  public function getProperty($name)
47  {
48  return $this->properties[$name] ?? null;
49  }
50 }
if(!isset($_GET['name'])) $name
Definition: log.php:14