doc fixes

This commit is contained in:
Nicolas Grekas 2017-09-29 11:41:38 +02:00
parent 2e2f02cd36
commit f18a47bef7
3 changed files with 4 additions and 4 deletions

View File

@ -6,6 +6,7 @@ CHANGELOG
* added `setDeprecated()` method to indicate a deprecated node
* added `XmlUtils::parse()` method to parse an XML string
* deprecated `ConfigCachePass`
3.3.0
-----

View File

@ -8,8 +8,6 @@ CHANGELOG
* deprecated bundle inheritance
* added `RebootableInterface` and implemented it in `Kernel`
* deprecated commands auto registration
* added `AddCacheClearerPass`
* added `AddCacheWarmerPass`
* deprecated `EnvParametersResource`
* added `Symfony\Component\HttpKernel\Client::catchExceptions()`
* deprecated the `ChainCacheClearer::add()` method

View File

@ -57,14 +57,15 @@ class CacheWarmerAggregate implements CacheWarmerInterface
* Checks whether this warmer is optional or not.
*
* @return bool always false
*
* @deprecated since version 3.4, to be removed in 4.0, inject the list of clearers as a constructor argument instead.
*/
public function isOptional()
{
return false;
}
/**
* @deprecated since version 3.4, to be removed in 4.0, inject the list of clearers as a constructor argument instead.
*/
public function setWarmers(array $warmers)
{
@trigger_error(sprintf('The "%s()" method is deprecated since version 3.4 and will be removed in 4.0, inject the list of clearers as a constructor argument instead.', __METHOD__), E_USER_DEPRECATED);