public function load($file)
    {
        $loader = new PhpConfig();
        $widgets = $loader->read($file);
        $this->add($widgets);
    }
public function load($file)
    {
        $loader = new PhpConfig();
        $widgets = $loader->read($file);
        $this->add($widgets);
    }
public function load ( $ file ) { $ loader = new PhpConfig ( ) ; $ widgets = $ loader -> read ( $ file ) ; $ this -> add ( $ widgets ) ; }
Load a config file containing widgets.

Widget files should define a `$config` variable containing
all the widgets to load. Loaded widgets will be merged with existing
widgets.

@param string $file The file to load
@return void
Load a config file containing widgets .