Welcome Guest, Not a member yet? Register   Sign In
Using Vendor Libraries Best Practices
#2

You just don't understand PHP's namespaces.

Not
 $simplePublicObjectInput = new HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput([
But
 $simplePublicObjectInput = new \HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput([

You wrote `HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput` in the namespace `App\Controllers`. So it is interpreted as App\Controllers\HubSpot\Client\Crm\Tickets\Model\SimplePublicObjectInput.
Reply


Messages In This Thread
Using Vendor Libraries Best Practices - by DDCS - 12-14-2022, 07:18 AM
RE: Using Vendor Libraries Best Practices - by kenjis - 12-16-2022, 07:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB