コード例 #1
0
ファイル: TimeOutCommand.php プロジェクト: jaggy/work-scripts
 /**
  * Check if the user has already logged today.
  *
  * @return bool
  */
 private function hasLogged()
 {
     return Cache::has('time:out');
 }
コード例 #2
0
ファイル: TimeInCommand.php プロジェクト: jaggy/work-scripts
 /**
  * Check if the user has already logged today.
  *
  * @return bool
  */
 private function hasLogged()
 {
     return Cache::has("time:in");
 }