public function purge($scope = null)
    {
        // Get scope if not passed
        if (null === $scope) {
            $scope = $this->getScope();
        }

        // Return result of purge
        return $this->getContainer()->purge($scope);
    }
public function purge($scope = null)
    {
        // Get scope if not passed
        if (null === $scope) {
            $scope = $this->getScope();
        }

        // Return result of purge
        return $this->getContainer()->purge($scope);
    }
public function purge ( $ scope = null ) { // Get scope if not passed if ( null === $ scope ) { $ scope = $ this -> getScope ( ) ; } // Return result of purge return $ this -> getContainer ( ) -> purge ( $ scope ) ; }
Removes all scope datasets from cache.

@param string $scope The scope of the cache item

@author Benjamin Carl <opensource@clickalicious.de>

@return int Number of removed entries
Removes all scope datasets from cache .