Skip to content

Commit

Permalink
Update IncomingEntry.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Oct 13, 2024
1 parent 6e29014 commit 1d6f674
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/IncomingEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,26 @@ public function isSlowQuery()
return $this->type === EntryType::QUERY && ($this->content['slow'] ?? false);
}

/**
* Determine if the incoming entry is a event entry.
*
* @return bool
*/
public function isEvent()
{
return $this->type === EntryType::EVENT;
}

/**
* Determine if the incoming entry is a cache entry.
*
* @return bool
*/
public function isCache()
{
return $this->type === EntryType::CACHE;
}

/**
* Determine if the incoming entry is an authorization gate check.
*
Expand Down Expand Up @@ -283,26 +303,6 @@ public function isLog()
return $this->type === EntryType::LOG;
}

/**
* Determine if the incoming entry is a event entry.
*
* @return bool
*/
public function isEvent()
{
return $this->type === EntryType::EVENT;
}

/**
* Determine if the incoming entry is a cache entry.
*
* @return bool
*/
public function isCache()
{
return $this->type === EntryType::CACHE;
}

/**
* Determine if the incoming entry is a scheduled task.
*
Expand Down

0 comments on commit 1d6f674

Please sign in to comment.