restore the try { statement

This commit is contained in:
TANT Julien
2013-12-17 11:53:02 +01:00
parent 430c5d7db4
commit 7ee52d7e61
@@ -141,6 +141,7 @@ class ModelsCommand extends Command {
$this->properties = array();
$this->methods = array();
if(class_exists($name)){
try {
// handle abstract classes, interfaces, ...
$reflectionClass = new \ReflectionClass($name);
if (!$reflectionClass->IsInstantiable()) {