/** * Instantiate a new Blocklyduino Application. * Objects and parameters can be passed as argument to the constructor. * @param array $values The parameters or objects. */ function __construct(array $values = array()) { parent::__construct(); // Most of our configuration is actually in this YAML file $this->register(new YamlConfigServiceProvider(__DIR__ . '/../src/config/settings.yml')); // Set to false if you don't want debug messages $this['debug'] = $this['config']['debug']['is_on']; foreach ($values as $key => $value) { $this[$key] = $value; } Dependencies::configure($this); Routes::configure($this); }