Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BaseObjectExtractor.php
Go to the documentation of this file.
1 <?php
8 
13 {
14  const NODE_NAME = 'nodeName';
15  const NAME = 'name';
16 
20  public function __construct()
21  {
22  // empty
23  }
24 
33  protected function stripDescriptorTags($data, ...$tags)
34  {
35  $results = $data;
36  foreach ($tags as $tag) {
37  unset($results[$tag]);
38  }
39 
40  return $results;
41  }
42 }
$results
Definition: popup.phtml:13