I'm having a problem in my script class, is giving me the error:
Parse error: syntax error, unexpected '$client' (T_VARIABLE), expecting identifier (T_STRING) 
But I can't figure out what is the problem with the "client Variable".
While accessing constant class members you need to use self::, but while accessing local variable you can use simply by variable name.
So you need to use self::client instead of $client. Because $client is constant class member.
