Symfony\Component\PropertyAccess\PropertyAccessor::isAccessible
Returns whether a method is public and has a specific number of required parameters.
Signature
private function isAccessible(ReflectionClass
$class,
string
$methodName,
integer
$parameters )
Parameters
$class
— \ReflectionClass- The class of the method
$methodName
— string- The method name
$parameters
— integer- The number of parameters
Returns
- Boolean
- Whether the method is public and has $parameters
required parameters