PHP Classes

File: app/Helpers/auth_helper.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Task App   app/Helpers/auth_helper.php   Download  
File: app/Helpers/auth_helper.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Task App
Create and manage tasks to be done
Author: By
Last change:
Date: 17 days ago
Size: 138 bytes
 

Contents

Class file image Download
<?php
if (!function_exists('current_user')) {
    function
current_user()
    {
        return
service('auth')->getCurrentUser();
    }
}