Copied!
CloneableInstantiable
Methods
public static export( $value, $indent = '')
public static prepare( $values, $objectsPool, $refsPool, $objectsCount, $valuesAreStatic)
 

Prepares an array of values for VarExporter.

For performance this method is public and has no type-hints.

  • param array $values
  • param \SplObjectStorage $objectsPool
  • param array $refsPool
  • param int $objectsCount
  • param bool $valuesAreStatic
  • return array
  • throws \NotInstantiableTypeException When a value cannot be serialized
Methods
private static exportHydrator(Symfony\Component\VarExporter\Internal\Hydrator $value, string $indent, string $subIndent) : string
private static exportRegistry(Symfony\Component\VarExporter\Internal\Registry $value, string $indent, string $subIndent) : string
private static getArrayObjectProperties( $value, $proto) : array
 
  • param \ArrayIterator|\ArrayObject $value
  • param \ArrayIterator|\ArrayObject $proto
Methods
public static export( $value, $indent = '')
private static exportHydrator(Symfony\Component\VarExporter\Internal\Hydrator $value, string $indent, string $subIndent) : string
private static exportRegistry(Symfony\Component\VarExporter\Internal\Registry $value, string $indent, string $subIndent) : string
private static getArrayObjectProperties( $value, $proto) : array
 
  • param \ArrayIterator|\ArrayObject $value
  • param \ArrayIterator|\ArrayObject $proto
public static prepare( $values, $objectsPool, $refsPool, $objectsCount, $valuesAreStatic)
 

Prepares an array of values for VarExporter.

For performance this method is public and has no type-hints.

  • param array $values
  • param \SplObjectStorage $objectsPool
  • param array $refsPool
  • param int $objectsCount
  • param bool $valuesAreStatic
  • return array
  • throws \NotInstantiableTypeException When a value cannot be serialized
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration