Spatie\ModelCleanup\CleanUpModelsCommand::handle PHP Метод

handle() публичный Метод

public handle ( )
    public function handle()
    {
        $this->comment('Cleaning models...');
        $cleanableModels = $this->getModelsThatShouldBeCleanedUp();
        $this->cleanUp($cleanableModels);
        $this->comment('All done!');
    }