Public constructor. This does NOT go through the fof.xml file. You are advised to use getInstance() instead.
public __construct ( array $values = [] ) | ||
$values | array | Overrides for the container configuration and services |
public function __construct(array $values = array()) { if (!isset($values['componentName'])) { $values['componentName'] = 'com_fakeapp'; } if (!isset($values['platform'])) { $values['platform'] = function (Container $c) { return new TestJoomlaPlatform($c); }; } return parent::__construct($values); }
public function __construct(array $values = array()) { parent::__construct($values); }