Fixed documentation annotation for factories
This commit is contained in:
parent
2a505d1b30
commit
ccc6a6db15
|
@ -10,11 +10,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
class AclAwareAmazonS3AdapterFactory implements AdapterFactoryInterface
|
class AclAwareAmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Creates the adapter, registers it and returns its id
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @param ContainerBuilder $container A ContainerBuilder instance
|
|
||||||
* @param string $id The id of the service
|
|
||||||
* @param array $config An array of configuration
|
|
||||||
*/
|
*/
|
||||||
public function create(ContainerBuilder $container, $id, array $config)
|
public function create(ContainerBuilder $container, $id, array $config)
|
||||||
{
|
{
|
||||||
|
@ -42,9 +38,7 @@ class AclAwareAmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the key for the factory configuration
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
*/
|
||||||
public function getKey()
|
public function getKey()
|
||||||
{
|
{
|
||||||
|
@ -52,9 +46,7 @@ class AclAwareAmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds configuration nodes for the factory
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @param NodeBuilder $builder
|
|
||||||
*/
|
*/
|
||||||
public function addConfiguration(NodeDefinition $builder)
|
public function addConfiguration(NodeDefinition $builder)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,7 +31,7 @@ interface AdapterFactoryInterface
|
||||||
/**
|
/**
|
||||||
* Adds configuration nodes for the factory
|
* Adds configuration nodes for the factory
|
||||||
*
|
*
|
||||||
* @param NodeBuilder $builder
|
* @param NodeDefinition $builder
|
||||||
*/
|
*/
|
||||||
function addConfiguration(NodeDefinition $builder);
|
function addConfiguration(NodeDefinition $builder);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
class AmazonS3AdapterFactory implements AdapterFactoryInterface
|
class AmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Creates the adapter, registers it and returns its id
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @param ContainerBuilder $container A ContainerBuilder instance
|
|
||||||
* @param string $id The id of the service
|
|
||||||
* @param array $config An array of configuration
|
|
||||||
*/
|
*/
|
||||||
public function create(ContainerBuilder $container, $id, array $config)
|
public function create(ContainerBuilder $container, $id, array $config)
|
||||||
{
|
{
|
||||||
|
@ -31,9 +27,7 @@ class AmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the key for the factory configuration
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
*/
|
||||||
public function getKey()
|
public function getKey()
|
||||||
{
|
{
|
||||||
|
@ -41,9 +35,7 @@ class AmazonS3AdapterFactory implements AdapterFactoryInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds configuration nodes for the factory
|
* {@inheritDoc}
|
||||||
*
|
|
||||||
* @param NodeBuilder $builder
|
|
||||||
*/
|
*/
|
||||||
public function addConfiguration(NodeDefinition $builder)
|
public function addConfiguration(NodeDefinition $builder)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user