Example #1
0
 public function testChangeViaFramework()
 {
     Framework::useFramework('zurb');
     $this->assertEquals(Framework::current(), 'zurb');
 }
Example #2
0
<?php

use Former\Config;
use Former\Framework;
// Loading Former -------------------------------------------------- /
Autoloader::namespaces(array('Former' => Bundle::path('former') . 'libraries'));
// Loading Former configuration ------------------------------------ /
// Fetch configuration files
new Config();
// Set default framework
Framework::useFramework(Config::get('framework'));