PHP Class AppserverIo\Appserver\PersistenceContainer\Doctrine\V2\DriverFactories\AnnotationDriverFactory

Author: Tim Wagner ([email protected])
Author: Bernhard Wick ([email protected])
Inheritance: implements DriverFactoryInterface
显示文件 Open project: appserver-io/appserver

Public Methods

Method Description
get ( Doctrine\ORM\Configuration $configuration, array $paths = [], array $params = [] ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver Return's the new driver instance.

Method Details

get() public static method

Return's the new driver instance.
public static get ( Doctrine\ORM\Configuration $configuration, array $paths = [], array $params = [] ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
$configuration Doctrine\ORM\Configuration The DBAL configuration to create the driver for
$paths array The path to the driver configuration
$params array The additional configuration params
return Doctrine\Common\Persistence\Mapping\Driver\MappingDriver The driver instance