Map through an array of product objects and to sort products in locations and quantities for each location. Create a new array with objects organized to provide quantity counts for each location the product is in. Refer to the input array attached and the required output array attached. For each product name create a new object that provides a list of the locations and respective quantities.
We are looking for an experienced software architect who has experience in core PHP, MVC, OOPs and ecommerce modeling. The person should have experience in UML class modeling and PSR2 coding standards.