File "CollectionCacheKey.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Cache/CollectionCacheKey.php
File size: 690 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Cache;
if (!defined('ABSPATH')) exit;
use function implode;
use function ksort;
use function str_replace;
use function strtolower;
class CollectionCacheKey extends CacheKey
{
 public $ownerIdentifier;
 public $entityClass;
 public $association;
 public function __construct($entityClass, $association, array $ownerIdentifier)
 {
 ksort($ownerIdentifier);
 $this->ownerIdentifier = $ownerIdentifier;
 $this->entityClass = (string) $entityClass;
 $this->association = (string) $association;
 $this->hash = str_replace('\\', '.', strtolower($entityClass)) . '_' . implode(' ', $ownerIdentifier) . '__' . $association;
 }
}