[HttpKernel] Fix inheritdocs

This commit is contained in:
Roland Franssen 2018-08-28 18:06:40 +02:00 committed by Fabien Potencier
parent 411e0c5d66
commit b04ef43d22
3 changed files with 13 additions and 24 deletions

View File

@ -18,5 +18,8 @@ namespace Symfony\Component\DependencyInjection;
*/ */
interface ContainerAwareInterface interface ContainerAwareInterface
{ {
/**
* Sets the container.
*/
public function setContainer(ContainerInterface $container = null); public function setContainer(ContainerInterface $container = null);
} }

View File

@ -35,23 +35,21 @@ abstract class Bundle implements BundleInterface
protected $path; protected $path;
/** /**
* Boots the Bundle. * {@inheritdoc}
*/ */
public function boot() public function boot()
{ {
} }
/** /**
* Shutdowns the Bundle. * {@inheritdoc}
*/ */
public function shutdown() public function shutdown()
{ {
} }
/** /**
* Builds the bundle. * {@inheritdoc}
*
* It is only ever called once when the cache is empty.
* *
* This method can be overridden to register compilation passes, * This method can be overridden to register compilation passes,
* other extensions, ... * other extensions, ...
@ -61,9 +59,7 @@ abstract class Bundle implements BundleInterface
} }
/** /**
* Sets the container. * {@inheritdoc}
*
* @param ContainerInterface|null $container A ContainerInterface instance or null
*/ */
public function setContainer(ContainerInterface $container = null) public function setContainer(ContainerInterface $container = null)
{ {
@ -71,9 +67,7 @@ abstract class Bundle implements BundleInterface
} }
/** /**
* Returns the bundle's container extension. * {@inheritdoc}
*
* @return ExtensionInterface|null The container extension
* *
* @throws \LogicException * @throws \LogicException
*/ */
@ -110,9 +104,7 @@ abstract class Bundle implements BundleInterface
} }
/** /**
* Gets the Bundle namespace. * {@inheritdoc}
*
* @return string The Bundle namespace
*/ */
public function getNamespace() public function getNamespace()
{ {
@ -122,9 +114,7 @@ abstract class Bundle implements BundleInterface
} }
/** /**
* Gets the Bundle directory path. * {@inheritdoc}
*
* @return string The Bundle absolute path
*/ */
public function getPath() public function getPath()
{ {
@ -137,18 +127,14 @@ abstract class Bundle implements BundleInterface
} }
/** /**
* Returns the bundle parent name. * {@inheritdoc}
*
* @return string|null The Bundle parent name it overrides or null if no parent
*/ */
public function getParent() public function getParent()
{ {
} }
/** /**
* Returns the bundle name (the class short name). * {@inheritdoc}
*
* @return string The Bundle name
*/ */
final public function getName() final public function getName()
{ {

View File

@ -112,7 +112,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface
} }
/** /**
* Boots the current kernel. * {@inheritdoc}
*/ */
public function boot() public function boot()
{ {