| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 15 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 36 | public function find($path) | ||
| 37 |     { | ||
| 38 |         foreach ($this->loaders as $loader) { | ||
| 39 |             try { | ||
| 40 | return $loader->find($path); | ||
| 41 |             } catch (\Exception $loaderException) { | ||
| 42 | // handle exception later | ||
| 43 | } | ||
| 44 | } | ||
| 45 | |||
| 46 |         throw new NotLoadableException(vsprintf('Source image not resolvable "%s" using "%s" loaders.', array( | ||
| 47 | $path, | ||
| 48 | $this->getLoaderNamesString(), | ||
| 49 | ))); | ||
| 50 | } | ||
| 51 | |||
| 65 |