protected function store($label, CacheEvent $event)
    {
        $tags = $event->tags;

        $this->events[$label]['keys'][] = ! empty($tags)
            ? ['tags' => $tags, 'key' => $event->key]
            : $event->key;

        $this->events[$label]['total']++;
    }
protected function store($label, CacheEvent $event)
    {
        $tags = $event->tags;

        $this->events[$label]['keys'][] = ! empty($tags)
            ? ['tags' => $tags, 'key' => $event->key]
            : $event->key;

        $this->events[$label]['total']++;
    }
protected function store ( $ label , CacheEvent $ event ) { $ tags = $ event -> tags ; $ this -> events [ $ label ] [ 'keys' ] [ ] = ! empty ( $ tags ) ? [ 'tags' => $ tags , 'key' => $ event -> key ] : $ event -> key ; $ this -> events [ $ label ] [ 'total' ] ++ ; }
Store event.

@param string $label
@param CacheEvent $event
Store event .