CodeExplorer getMutatorMethod example
return null !==
$this->
getReadInfo($class,
$property,
$context);
} public function isWritable(string
$class, string
$property, array
$context =
[]): ?bool
{ if ($this->
isAllowedProperty($class,
$property, true
)) { return true;
} [$reflectionMethod] =
$this->
getMutatorMethod($class,
$property);
return null !==
$reflectionMethod;
} public function isInitializable(string
$class, string
$property, array
$context =
[]): ?bool
{ try { $reflectionClass =
new \
ReflectionClass($class);
} catch (\ReflectionException
) { return null;
}