for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Imanghafoori\HeyMan\Plugins\Conditions;
class Authentication
{
public function beGuest($guard = null)
return function () use ($guard) {
return auth($guard)->guest();
};
}
public function loggedIn($guard = null)
return auth($guard)->check();