Copied!

AbstractStepNormalizer

AbstractStepNormalizer.php : 27
Implements DenormalizerInterface, NormalizerInterface, DenormalizerAwareInterface, NormalizerAwareInterface, StepNormalizerInterface, CacheableSupportsMethodInterface
Uses DenormalizerAwareTrait, NormalizerAwareTrait

Constants

publicCONTEXT_STEP_CLASS_KEY

AbstractStepNormalizer.php : 29
public mixed CONTEXT_STEP_CLASS_KEY = 'step_class'

Methods

publicdenormalize()

AbstractStepNormalizer.php : 86
public final denormalize(array<string|int, mixed> $data, string $type[, string $format = null ][, array<string|int, mixed> $context = [] ]) : mixed

Parameters

Name Type Default value Description
$data array<string|int, mixed> - -
$type string - -
$format string null -
$context array<string|int, mixed> [] -

publicgetHandledClassType()

AbstractStepNormalizer.php : 139
public abstract getHandledClassType() : string

Return values

string

publichasCacheableSupportsMethod()

AbstractStepNormalizer.php : 151
public final hasCacheableSupportsMethod() : bool

Return values

bool

publicnormalize()

AbstractStepNormalizer.php : 44
public final normalize(T $object[, string|null $format = null ][, array<string|int, mixed> $context = [] ]) : array<string|int, mixed>

Parameters

Name Type Default value Description
$object T - -
$format string|null null -
$context array<string|int, mixed> [] -

Return values

array<string|int, mixed>

publicsupportsDenormalization()

AbstractStepNormalizer.php : 146
public final supportsDenormalization(mixed $data, string $type[, string $format = null ]) : mixed

Parameters

Name Type Default value Description
$data mixed - -
$type string - -
$format string null -

publicsupportsNormalization()

AbstractStepNormalizer.php : 141
public final supportsNormalization(mixed $data[, string $format = null ]) : mixed

Parameters

Name Type Default value Description
$data mixed - -
$format string null -

protecteddenormalizeStep()

AbstractStepNormalizer.php : 136
protected abstract denormalizeStep(array<string|int, mixed> $data, string $type, string $format[, array<string|int, mixed> $context = [] ]) : StepInterface

Parameters

Name Type Default value Description
$data array<string|int, mixed> - -
$type string - -
$format string - -
$context array<string|int, mixed> [] -

Return values

StepInterface

protectednormalizeStep()

AbstractStepNormalizer.php : 78
protected abstract normalizeStep(StepInterface $object[, string $format = null ][, array<string|int, mixed> $context = [] ]) : array<string, mixed>

Parameters

Name Type Default value Description
$object StepInterface - -
$format string null -
$context array<string|int, mixed> [] -

Return values

array<string, mixed>