Laravel – Using $this when not in object context
I am working on a PHP library in Laravel. I want to call a variable that is global to my function and I get this error. Using $this when not in object context Where am I missing? class ConfigurationProvider implements…