Solar::stop PHP Méthode

stop() public static méthode

Stops Solar: runs stop scripts and cleans up the Solar environment.
public static stop ( ) : void
Résultat void
    public static function stop()
    {
        // run any 'stop' hook methods
        $hooks = Solar_Config::get('Solar', 'stop', array());
        Solar::callbacks($hooks);
        // unregister autoloader
        spl_autoload_unregister(array('Solar_Class', 'autoload'));
        // reset the status flag, and we're done.
        Solar::$_status = false;
    }

Usage Example

Exemple #1
0
 public function tearDown()
 {
     Solar::stop();
 }
All Usage Examples Of Solar::stop