Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer::isGetMethod
Checks if a method's name is get.* and can be called without parameters.
Signature
private function isGetMethod(ReflectionMethod
$method )
Parameters
$method
— \ReflectionMethod- the method to check
Returns
- Boolean
- whether the method is a getter.