/** * Constructor. * * @param string $name Name * @param rex_addon $addon Parent addon */ public function __construct($name, rex_addon $addon) { parent::__construct($name); $this->addon = $addon; }