lib/Psc/Doctrine/Module.php
public function registerEntityClassesMetadataDriver(Array $classes = array(), $namespace = 'Psc', \Doctrine\Common\Annotations\Reader $reader = NULL) {
    if (!isset($this->entityClassesMetadataDriver)) {
      if (!isset($reader)) {
        $reader = $this->createAnnotationReader();
      }
      $this->entityClassesMetadataDriver = new \Psc\Doctrine\MetadataDriver($reader, NULL, $classes);
      $this->registerMetadataDriver($this->entityClassesMetadataDriver, $namespace);
    }
    
    return $this;
  }
public function registerEntityClassesMetadataDriver(Array $classes = array(), $namespace = 'Psc', \Doctrine\Common\Annotations\Reader $reader = NULL) {
    if (!isset($this->entityClassesMetadataDriver)) {
      if (!isset($reader)) {
        $reader = $this->createAnnotationReader();
      }
      $this->entityClassesMetadataDriver = new \Psc\Doctrine\MetadataDriver($reader, NULL, $classes);
      $this->registerMetadataDriver($this->entityClassesMetadataDriver, $namespace);
    }
    
    return $this;
  }
public function registerEntityClassesMetadataDriver ( Array $ classes = array ( ) , $ namespace = 'Psc' , \ Doctrine \ Common \ Annotations \ Reader $ reader = NULL ) { if ( ! isset ( $ this -> entityClassesMetadataDriver ) ) { if ( ! isset ( $ reader ) ) { $ reader = $ this -> createAnnotationReader ( ) ; } $ this -> entityClassesMetadataDriver = new \ Psc \ Doctrine \ MetadataDriver ( $ reader , NULL , $ classes ) ; $ this -> registerMetadataDriver ( $ this -> entityClassesMetadataDriver , $ namespace ) ; } return $ this ; }
Erstellt den EntityClassesMetadataDriver

mehrmals aufrufen ist nicht tragisch, jedoch wird dann natürlihc $classes und $namspace sowie $reader keinen effect haben
@see getEntityClassesMetadataDriver
@chainable
Erstellt den EntityClassesMetadataDriver