src/Jobs/PlanetaryInteraction/Character/PlanetDetail.php
private function planetCleanup($planet)
    {

        // cleaning all waypoints
        $this->cleanRouteWaypoints($planet);

        // cleaning all routes
        $this->cleanRoutes($planet);

        // cleaning links
        $this->cleanLinks($planet);

        // cleaning contents
        $this->cleanContents($planet);

        // cleaning heads
        $this->cleanHeads($planet);

        // cleaning extractors
        $this->cleanExtractors($planet);

        // cleaning factories
        $this->cleanFactories($planet);

        // cleaning pins
        $this->cleanPins($planet);

        $this->resetCollections();
    }
private function planetCleanup($planet)
    {

        // cleaning all waypoints
        $this->cleanRouteWaypoints($planet);

        // cleaning all routes
        $this->cleanRoutes($planet);

        // cleaning links
        $this->cleanLinks($planet);

        // cleaning contents
        $this->cleanContents($planet);

        // cleaning heads
        $this->cleanHeads($planet);

        // cleaning extractors
        $this->cleanExtractors($planet);

        // cleaning factories
        $this->cleanFactories($planet);

        // cleaning pins
        $this->cleanPins($planet);

        $this->resetCollections();
    }
private function planetCleanup ( $ planet ) { // cleaning all waypoints $ this -> cleanRouteWaypoints ( $ planet ) ; // cleaning all routes $ this -> cleanRoutes ( $ planet ) ; // cleaning links $ this -> cleanLinks ( $ planet ) ; // cleaning contents $ this -> cleanContents ( $ planet ) ; // cleaning heads $ this -> cleanHeads ( $ planet ) ; // cleaning extractors $ this -> cleanExtractors ( $ planet ) ; // cleaning factories $ this -> cleanFactories ( $ planet ) ; // cleaning pins $ this -> cleanPins ( $ planet ) ; $ this -> resetCollections ( ) ; }
Performs a cleanup of any routes, links or contents
of a planet.

@param $planet

@throws \Exception
Performs a cleanup of any routes links or contents of a planet .