AdsUtilityRegistry::popAllUtilities PHP Method

popAllUtilities() public method

Gets all utilities in the registry and clear the registry.
public popAllUtilities ( ) : array
return array the list of registered ads utilities
    public function popAllUtilities()
    {
        $currentUtilities = $this->adsUtilities;
        $this->adsUtilities = array();
        return $currentUtilities;
    }