Welcome Guest, Not a member yet? Register   Sign In
How to use package composer in controller (jasig\phpcas))
#3

(05-23-2022, 11:31 AM)iRedds Wrote: You are trying to access the phpCAS class in the context of the App\Controllers namespace.
That's why you're getting the error.

PHP Code:
// before class
use phpCas
// or use backslash
-> \phpCas::client() 

Thanks a lot !!
I think i've tried all the pattern but not only 'use phpCAS'... my bad.
It work's now.
Reply


Messages In This Thread
RE: How to use package composer in controller (jasig\phpcas)) - by aurelyan - 05-23-2022, 11:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB