관리-도구
편집 파일: QueryCacheModuleInterface.php
<?php namespace Rennokki\QueryCache\Contracts; interface QueryCacheModuleInterface { /** * Generate the plain unique cache key for the query. * * @param string $method * @param string|null $id * @param string|null $appends * @return string */ public function generatePlainCacheKey(string $method = 'get', string $id = null, string $appends = null): string; /** * Get the query cache callback. * * @param string $method * @param array|string $columns * @param string|null $id * @return \Closure */ public function getQueryCacheCallback(string $method = 'get', $columns = ['*'], string $id = null); }