public function compute($group_name, $identifier, RendererInterface $renderer = null)
    {
        if (false === $this->isValidGroup($group_name)) {
            throw new InvalidArgumentException("$group_name is not a valid cache identifier appender group.");
        }

        foreach ($this->appenders[$group_name] as $appender) {
            $identifier = $appender->computeIdentifier($identifier, $renderer);
        }

        return $identifier;
    }
public function compute($group_name, $identifier, RendererInterface $renderer = null)
    {
        if (false === $this->isValidGroup($group_name)) {
            throw new InvalidArgumentException("$group_name is not a valid cache identifier appender group.");
        }

        foreach ($this->appenders[$group_name] as $appender) {
            $identifier = $appender->computeIdentifier($identifier, $renderer);
        }

        return $identifier;
    }
public function compute ( $ group_name , $ identifier , RendererInterface $ renderer = null ) { if ( false === $ this -> isValidGroup ( $ group_name ) ) { throw new InvalidArgumentException ( "$group_name is not a valid cache identifier appender group." ) ; } foreach ( $ this -> appenders [ $ group_name ] as $ appender ) { $ identifier = $ appender -> computeIdentifier ( $ identifier , $ renderer ) ; } return $ identifier ; }
This method will compute cache identifier with every appenders that belong to group name.

@param string    $group_name the group name of appenders to apply
@param string    $identifier identifier we want to update
@param RendererInterface $renderer   the current renderer, can be null

@return string the identifier new computed with appenders of group name
This method will compute cache identifier with every appenders that belong to group name .