diff --git a/src/Metadata/MetadataFactory.php b/src/Metadata/MetadataFactory.php index 3bea4eb..c80d13a 100644 --- a/src/Metadata/MetadataFactory.php +++ b/src/Metadata/MetadataFactory.php @@ -24,12 +24,13 @@ class MetadataFactory implements AdvancedMetadataFactoryInterface { + protected $includeInterfaces = false; + private $driver; private $cache; private $loadedMetadata = array(); private $loadedClassMetadata = array(); private $hierarchyMetadataClass; - private $includeInterfaces = false; private $debug; /** @@ -160,8 +161,9 @@ private function addClassMetadata(&$metadata, $toAdd) /** * @param string $class + * @return array */ - private function getClassHierarchy($class) + protected function getClassHierarchy($class) { $classes = array(); $refl = new \ReflectionClass($class);