* if (!$auth->is('manager')) { * http_response_code(403); // Forbidden * echo "You are not allowed to view this page"; * exit(); * } * * * @param string $role * @return boolean */ public function is($role); }