Skip to content

Instantly share code, notes, and snippets.

Last active August 9, 2022 19:03
What would you like to do?
if ($httpApi->hasAccess($user) && $user->isActive() && $isSuccess) {
// all conditions must be met in order for this condition to execute
// in case of 'and' we should keep the heaviest conditions last
// and the fastest to execute in front
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment