Update adapter factory interface

This commit is contained in:
Antoine Hérault
2011-05-13 07:11:59 +02:00
parent 1253405c41
commit c2529cab1c
6 changed files with 11 additions and 22 deletions

View File

@@ -15,11 +15,9 @@ interface AdapterFactoryInterface
/**
* Creates the adapter, registers it and returns its id
*
* @param ContainerBuilder $container
* @param string $id
* @param array $config
*
* @return string The Adapter service id in the DIC
* @param ContainerBuilder $container A ContainerBuilder instance
* @param string $id The id of the service
* @param array $config An array of configuration
*/
function create(ContainerBuilder $container, $id, array $config);