[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/symfony/var-dumper/Caster/ -> Caster.php (summary)

(no description)

File Size: 170 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Caster:: (3 methods):
  castObject()
  filter()
  castPhpIncompleteClass()


Class: Caster  - X-Ref

Helper for filtering out properties in casters.

castObject(object $obj, string $class, bool $hasDebugInfo = false, string $debugClass = null)   X-Ref
Casts objects to arrays and adds the dynamic property prefix.

param: bool $hasDebugInfo Whether the __debugInfo method exists on $obj or not

filter(array $a, int $filter, array $listedProperties = [], ?int &$count = 0)   X-Ref
Filters out the specified properties.

By default, a single match in the $filter bit field filters properties out, following an "or" logic.
When EXCLUDE_STRICT is set, an "and" logic is applied: all bits must match for a property to be removed.

param: array    $a                The array containing the properties to filter
param: int      $filter           A bit field of Caster::EXCLUDE_* constants specifying which properties to filter out
param: string[] $listedProperties List of properties to exclude when Caster::EXCLUDE_VERBOSE is set, and to preserve when Caster::EXCLUDE_NOT_IMPORTANT is set
param: int      &$count           Set to the number of removed properties

castPhpIncompleteClass(\__PHP_Incomplete_Class $c, array $a, Stub $stub, bool $isNested)   X-Ref
No description



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer