Permalink
Browse files

Fix regression that removed Persistent interfaces in base classes

  • Loading branch information...
1 parent d87e9a5 commit 55fef695c9ff112b3efc1e4668a46dd1263c1641 @willdurand willdurand committed Jul 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 generator/lib/builder/om/PHP5ObjectBuilder.php
@@ -222,6 +222,8 @@ protected function addClassOpen(&$script)
} else {
$this->declareClassFromBuilder($this->getInterfaceBuilder());
}
+ } elseif ($interface = ClassTools::getInterface($table)) {
+ $script .= "implements " . ClassTools::classname($interface);
}
$script .= "

0 comments on commit 55fef69

Please sign in to comment.