src/Pok/PoolDBM/Mapping/Driver/AnnotationDriver.php
public static function create($paths = array(), Reader $reader = null)
    {
        if ($reader == null) {
            $reader = new AnnotationReader();
        }

        return new self($reader, $paths);
    }
public static function create($paths = array(), Reader $reader = null)
    {
        if ($reader == null) {
            $reader = new AnnotationReader();
        }

        return new self($reader, $paths);
    }
public static function create ( $ paths = array ( ) , Reader $ reader = null ) { if ( $ reader == null ) { $ reader = new AnnotationReader ( ) ; } return new self ( $ reader , $ paths ) ; }
Factory method for the Annotation Driver

@param  array|string     $paths
@param  Reader           $reader
@return AnnotationDriver
Factory method for the Annotation Driver