Skip to content


Subversion checkout URL

You can clone with
Download ZIP
[READ-ONLY] Subtree split of the Symfony Serializer Component -- clone into Symfony/Component/ (master at symfony/symfony)

feature #16125 Replace is_callable checks with type hints (mpajunen, …


This PR was merged into the 3.0-dev branch.


Replace is_callable checks with type hints

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |  #14330
| License       | MIT
| Doc PR        | -

Also removes tests checking the exceptions thrown from
the removed is_callable checks.


7685cdd Add more callable type hints
4e0c6e1 Replace is_callable checks with type hints
latest commit b5635d02ab
@fabpot fabpot authored

Serializer Component

With the Serializer component it's possible to handle serializing data structures, including object graphs, into array structures or other formats like XML and JSON. It can also handle deserializing XML and JSON back to object graphs.


You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Serializer/
$ composer install
$ phpunit
Something went wrong with that request. Please try again.