Метод |
Описание |
|
camelize ( string $string ) : string |
Camelizes a given string. |
|
findAdderAndRemover ( ReflectionClass $reflClass, array $singulars ) : array | null |
Searches for add and remove methods. |
|
getPropertyPath ( string | Symfony\Component\PropertyAccess\PropertyPath $propertyPath ) : Symfony\Component\PropertyAccess\PropertyPath |
Gets a PropertyPath instance and caches it. |
|
getReadAccessInfo ( string $class, string $property ) : array |
Guesses how to read the property value. |
|
getWriteAccessInfo ( string $class, string $property, mixed $value ) : array |
Guesses how to write the property value. |
|
isMethodAccessible ( ReflectionClass $class, string $methodName, integer $parameters ) : boolean |
Returns whether a method is public and has the number of required parameters. |
|
isPropertyWritable ( object $object, string $property ) : boolean |
Returns whether a property is writable in the given object. |
|
readIndex ( array $zval, string | integer $index ) : array |
Reads a key from an array-like structure. |
|
readPropertiesUntil ( array $zval, Symfony\Component\PropertyAccess\PropertyPathInterface $propertyPath, integer $lastIndex, boolean $ignoreInvalidIndices = true ) : array |
Reads the path from an object up to a given path index. |
|
readProperty ( array $zval, string $property ) : array |
Reads the a property from an object. |
|
throwInvalidArgumentException ( $message, $trace, $i ) |
|
|
writeCollection ( array $zval, string $property, array | Traversable $collection, string $addMethod, string $removeMethod ) |
Adjusts a collection-valued property by calling add*() and remove*() methods. |
|
writeIndex ( array $zval, string | integer $index, mixed $value ) |
Sets the value of an index in a given array-accessible value. |
|
writeProperty ( array $zval, string $property, mixed $value ) |
Sets the value of a property in the given object. |
|