/** * Constructor. * * @param \Cake\Datasource\ConnectionInterface $connection The connection instance. * @param string|bool $cacheKey The cache key or boolean false to disable caching. */ public function __construct(ConnectionInterface $connection, $cacheKey = true) { parent::__construct($connection); $this->cacheMetadata($cacheKey); }