src/Transfer/EzPlatform/Repository/Manager/LocationManager.php
public function toggleVisibility(Location $location)
    {
        if ($location->hidden) {
            return $this->unHide($location);
        }

        return $this->hide($location);
    }
public function toggleVisibility(Location $location)
    {
        if ($location->hidden) {
            return $this->unHide($location);
        }

        return $this->hide($location);
    }
public function toggleVisibility ( Location $ location ) { if ( $ location -> hidden ) { return $ this -> unHide ( $ location ) ; } return $ this -> hide ( $ location ) ; }
Toggles location visibility.

@param Location $location

@return Location
Toggles location visibility .