app/Middleware/Auth.php
//get User KYC Details if available
get User KYC Details if available
get User KYC Details if available
public function user_kyc()
    {
        if ($this->Users)
        {
            return $this->userKyc->getInfo($this->Users->id);
        }
        return null;
    }
public function user_kyc ( ) { if ( $ this -> Users ) { return $ this -> userKyc -> getInfo ( $ this -> Users -> id ) ; } return null ; }
get User KYC Details if available
get User KYC Details if available