public function envDown($opts = [
        'include-network' => false,
    ])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->engineInstance()->down($opts['include-network']);

        // Allow projects to react to the engine shutdown.
        $this->invokeEngineEvent('onEngineDown');

        // Remove hostname from the system hosts file.
        $this->removeHostName();
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function envDown($opts = [
        'include-network' => false,
    ])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->engineInstance()->down($opts['include-network']);

        // Allow projects to react to the engine shutdown.
        $this->invokeEngineEvent('onEngineDown');

        // Remove hostname from the system hosts file.
        $this->removeHostName();
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function envDown ( $ opts = [ 'include-network' => false , ] ) { $ this -> executeCommandHook ( __FUNCTION__ , 'before' ) ; $ this -> engineInstance ( ) -> down ( $ opts [ 'include-network' ] ) ; // Allow projects to react to the engine shutdown. $ this -> invokeEngineEvent ( 'onEngineDown' ) ; // Remove hostname from the system hosts file. $ this -> removeHostName ( ) ; $ this -> executeCommandHook ( __FUNCTION__ , 'after' ) ; return $ this ; }
Shutdown environment engine.

@param array $opts
@option $include-network Shutdown the shared network proxy.

@return EnvTasks
Shutdown environment engine .