iplayer/bamboo — pull request #104 by haslaa01 (2014-10-06 14:10:20+00:00)
Title: 20103 responsive web should handle the situation where ibl is unable to return an image

https://jira.dev.bbc.co.uk/browse/IPLAYER-20103

[ORIGINALLY SUBMITTED 02/10/2014]
- Updated `getImage` within the `Elements` model to return a URL to the placeholder image (uploaded in separate PR)
- Updated the `ElementsTest` accordingly

[UPDATED 06/10/2014 @ 15:10]
- Created new static `Configuration` class, which is used to hold values specific to the client that are used by Bamboo objects; transferred all relevant members of the `Client` class to this class and associated unit tests were rewritten within `ConfigurationTest.php`.
- Added `$_placeholderImageUrl` member variable to the `Configuration` class, which is used to define the image that is used when iBL is unable to return an image.
- Updated `Elements.getImage()` and `Elements.getStandardImageRecipe()` to make use of `getPlaceholderImageUrl()` within `Configuration` class