needCache() public method

public needCache ( )
Example #1
0
 private function needCache()
 {
     // TODO 如果没有设置 model,则认为不用处理缓存逻辑
     if (!$this->model) {
         return false;
     }
     return $this->model->needCache();
 }