Talking about getSynopsis()

This commit is contained in:
Ryan Weaver 2015-05-29 12:21:38 -04:00
parent b07eca5453
commit c35f2c8482
1 changed files with 25 additions and 0 deletions

View File

@ -559,6 +559,31 @@ Validator
(NullValidator, TrueValidator, FalseValidator) are marked as deprecated
in favor of their `Is`-prefixed equivalent.
Console
-------
* The `Symfony\Component\Console\Input\InputDefinition::getSynopsis()` method
now has an optional argument (it previously had no arguments). If you override
this method, you'll need to add this argument so that your signature matches:
Before:
```php
public function getSynopsis()
{
// ...
}
```
After:
```php
public function getSynopsis($short = false)
{
// ...
}
```
TwigBundle
----------