Bolt\Asset\Widget\Queue::hasItemsInQueue PHP Method

hasItemsInQueue() public method

Get the number of queued widgets.
public hasItemsInQueue ( string $location, string $zone = Zone::FRONTEND ) : boolean
$location string Location (e.g. 'dashboard_aside_top')
$zone string Either Zone::FRONTEND or Zone::BACKEND
return boolean
    public function hasItemsInQueue($location, $zone = Zone::FRONTEND)
    {
        return (bool) $this->countItemsInQueue($location, $zone);
    }