Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach ($distributorObjArr as $distributorObj) {
- try{
- $brandObjArray = $distributorObj->getMyBrands();
- $brandObj = $brandObjArray[0];
- $landingUrl = $brandObj->get('landingUrl');
- }catch(Exception $e){
- $landingUrl = 'No Brands';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement