Ejemplo n.º 1
0
<?php

$config = new App\AppConfig();
$config->addConfig(["bg" => ["route", "middleware"], "blog" => ["route", "api"]]);
$config->init($app);
Ejemplo n.º 2
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     DB::table('app_configs')->delete();
     App\AppConfig::create(array('key' => 'best_buy_api_key', 'value' => 'sds252jk62quyu9s3suwvnpr'));
 }