1 | <?php |
||
23 | class DataSourceFactory implements FactoryInterface |
||
24 | { |
||
25 | protected $connectionClassMap = array( |
||
26 | 'laravel' => 'PPI\Framework\DataSource\Connection\Laravel', |
||
27 | 'doctrine_dbal' => 'PPI\Framework\DataSource\Connection\DoctrineDBAL', |
||
28 | 'doctrine_mongdb' => 'PPI\Framework\DataSource\Connection\DoctrineMongoDB', |
||
29 | 'fuelphp' => 'PPI\Framework\DataSource\Connection\FuelPHP', |
||
30 | 'monga' => 'PPI\Framework\DataSource\Connection\Monga', |
||
31 | 'zend_db' => 'PPI\Framework\DataSource\Connection\ZendDb', |
||
32 | ); |
||
33 | |||
34 | /** |
||
35 | * Create and return the datasource service. |
||
36 | * |
||
37 | * @param ServiceLocatorInterface $serviceLocator |
||
38 | * |
||
39 | * @return \PPI\Framework\DataSource\DataSource; |
||
|
|||
40 | */ |
||
41 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
58 | } |
||
59 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.