src/FelixOnline/Base/App.php
private function checkOptions($options)
    {
        foreach ($this->required as $req) {
            if (!array_key_exists($req, $options)) {
                throw new \Exception('"' . $req . '" option has not been defined');
            }
        }
    }
private function checkOptions($options)
    {
        foreach ($this->required as $req) {
            if (!array_key_exists($req, $options)) {
                throw new \Exception('"' . $req . '" option has not been defined');
            }
        }
    }
private function checkOptions ( $ options ) { foreach ( $ this -> required as $ req ) { if ( ! array_key_exists ( $ req , $ options ) ) { throw new \ Exception ( '"' . $ req . '" option has not been defined' ) ; } } }
Check that all required options are defined

Throws Exception if option is not defined
Check that all required options are defined