Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
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