Constructs a Drupal\Core\Plugin\Discovery\CacheDecorator object.
It uses the DiscoveryInterface object it should decorate.
Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated: The object implementing DiscoveryInterface that is being decorated.
string $cache_key: The cache identifier used for storage of the definition list.
string $cache_bin: The cache bin used for storage and retrieval of the definition list.
public function __construct(DiscoveryInterface $decorated, $cache_key, $cache_bin = 'cache') {
$this->decorated = $decorated;
$this->cacheKey = $cache_key;
$this->cacheBin = $cache_bin;
}