src/package/Data/Repositories/Support/Projects.php
public function toggleAll()
    {
        Project::all()->each(function ($project) {
            $this->enableProject(!$project->enabled, $project);
        });
    }
public function toggleAll()
    {
        Project::all()->each(function ($project) {
            $this->enableProject(!$project->enabled, $project);
        });
    }
public function toggleAll ( ) { Project :: all ( ) -> each ( function ( $ project ) { $ this -> enableProject ( ! $ project -> enabled , $ project ) ; } ) ; }
Toggle the enabled state of all projects.
Toggle the enabled state of all projects .