eZ\Publish\Core\Persistence\Cache\TrashHandler::trashSubtree PHP Method

trashSubtree() public method

See also: eZ\Publish\SPI\Persistence\Content\Location\Trash\Handler
public trashSubtree ( $locationId )
    public function trashSubtree($locationId)
    {
        $this->logger->logCall(__METHOD__, array('locationId' => $locationId));
        $return = $this->persistenceHandler->trashHandler()->trashSubtree($locationId);
        $this->cache->clear('location');
        //TIMBER!
        $this->cache->clear('content');
        //TIMBER!
        $this->cache->clear('user', 'role', 'assignments', 'byGroup');
        return $return;
    }