Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Polymorphous.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  private $args;
17 
18  public function __construct()
19  {
20  $this->args = func_get_args();
21  }
22 
27  public function getArg($key)
28  {
29  return $this->args[$key] ?? null;
30  }
31 }