Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/Utilities/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ public function __call($name, $arguments)
}
}

/**
* Determine if an attribute exists on the base request.
*
* @param string $name
*/
public function __isset($name): bool
{
return isset(request()->$name);
}

/**
* Get attributes from request instance.
*
Expand Down
Loading