Skip to content

Instantly share code, notes, and snippets.

@dragoonis
Created January 10, 2013 14:09
Show Gist options
  • Save dragoonis/4502257 to your computer and use it in GitHub Desktop.
Save dragoonis/4502257 to your computer and use it in GitHub Desktop.
<?php
public function get($name)
{
try {
$result = parent::get($name);
return $result;
} catch(\Exception $e) {
do {
var_dump($e->getMessage());
} while ($e = $e->getPrevious());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment