Is it possible to do something like this in php? I want to have a namespace in a member variable and always be able to call every static method of this class, as I do below.
Of course, my code does not work, but I'm just wondering if this is possible at all, and that I am close to a solution, or if it is completely excluded and should always use the syntax:
\Stripe\Stripe::setApiKey(..);
Similar question for clarification
NOTE: I cannot modify the Stripe class, it is important that it remains intact when future developers need to update the Stripe API
Simplified code:
class StripeLib { var $stripe; public function __construct() {
source share