src/View/Helper/EditorialHelper.php
public function loadConfig($file)
    {
        $options = [];
        try {
            $loader = new PhpConfig();
            $options = $loader->read($file);
        } catch (\Exception $e) {
            Log::warning($e->getMessage());
        }
		$this->config('options', $options);
	}
public function loadConfig($file)
    {
        $options = [];
        try {
            $loader = new PhpConfig();
            $options = $loader->read($file);
        } catch (\Exception $e) {
            Log::warning($e->getMessage());
        }
		$this->config('options', $options);
	}
public function loadConfig ( $ file ) { $ options = [ ] ; try { $ loader = new PhpConfig ( ) ; $ options = $ loader -> read ( $ file ) ; } catch ( \ Exception $ e ) { Log :: warning ( $ e -> getMessage ( ) ) ; } $ this -> config ( 'options' , $ options ) ; }
Load a config file containing editor options.

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