__construct() public method

public __construct ( Jackalope\FactoryInterface $factory, Doctrine\DBAL\Connection $conn )
$factory Jackalope\FactoryInterface
$conn Doctrine\DBAL\Connection
 public function __construct(FactoryInterface $factory, Connection $conn, array $caches = array())
 {
     parent::__construct($factory, $conn);
     $caches['meta'] = isset($caches['meta']) ? $caches['meta'] : new ArrayCache();
     $this->caches = $caches;
     $this->keySanitizer = function ($cacheKey) {
         return str_replace(' ', '_', $cacheKey);
     };
 }
 public function __construct(FactoryInterface $factory, Connection $conn, array $caches = array())
 {
     parent::__construct($factory, $conn);
     $caches['meta'] = isset($caches['meta']) ? $caches['meta'] : new ArrayCache();
     $this->caches = $caches;
 }