public static function Engine()
    {
        if (class_exists('Administration', false)) {
            return Administration::instance();
        } elseif (class_exists('Frontend', false)) {
            return Frontend::instance();
        } else {
            throw new Exception(__('No suitable engine object found'));
        }
    }
public static function Engine()
    {
        if (class_exists('Administration', false)) {
            return Administration::instance();
        } elseif (class_exists('Frontend', false)) {
            return Frontend::instance();
        } else {
            throw new Exception(__('No suitable engine object found'));
        }
    }
public static function Engine ( ) { if ( class_exists ( 'Administration' , false ) ) { return Administration :: instance ( ) ; } elseif ( class_exists ( 'Frontend' , false ) ) { return Frontend :: instance ( ) ; } else { throw new Exception ( __ ( 'No suitable engine object found' ) ) ; } }
Accessor for the Symphony instance, whether it be Frontend
or Administration

@since Symphony 2.2
@throws Exception
@return Symphony
Accessor for the Symphony instance whether it be Frontend or Administration