public function boot()
    {
        if ($this->booted) {
            return $this;
        }

        // If we have pinba, disable it.
        if (extension_loaded('pinba')) {
            ini_set('pinba.enabled', false);
        }

        // If we have newrelic, disable it.
        if (extension_loaded('newrelic')) {
            ini_set('newrelic.enabled', false);
        }

        // Set timezone.
        if (!empty($this->settings['timezone'])) {
            date_default_timezone_set($this->settings['timezone']);
        }

        $this->booted = true;

        return $this;
    }
public function boot()
    {
        if ($this->booted) {
            return $this;
        }

        // If we have pinba, disable it.
        if (extension_loaded('pinba')) {
            ini_set('pinba.enabled', false);
        }

        // If we have newrelic, disable it.
        if (extension_loaded('newrelic')) {
            ini_set('newrelic.enabled', false);
        }

        // Set timezone.
        if (!empty($this->settings['timezone'])) {
            date_default_timezone_set($this->settings['timezone']);
        }

        $this->booted = true;

        return $this;
    }
public function boot ( ) { if ( $ this -> booted ) { return $ this ; } // If we have pinba, disable it. if ( extension_loaded ( 'pinba' ) ) { ini_set ( 'pinba.enabled' , false ) ; } // If we have newrelic, disable it. if ( extension_loaded ( 'newrelic' ) ) { ini_set ( 'newrelic.enabled' , false ) ; } // Set timezone. if ( ! empty ( $ this -> settings [ 'timezone' ] ) ) { date_default_timezone_set ( $ this -> settings [ 'timezone' ] ) ; } $ this -> booted = true ; return $ this ; }
Boot Application.

@return In2pire\Cli\ApplicationInterface
The called object.
Boot Application .