Search for normalize
- Search 7.x for normalize
- Search 9.5.x for normalize
- Search 8.9.x for normalize
- Search 11.x for normalize
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
TimestampItemNormalizerTest | class | core/ |
Tests that TimestampItem (de)normalization uses Timestamp (de)normalization. |
TimestampItemNormalizerTest.php | file | core/ |
|
TimestampItemNormalizerTest::$item | property | core/ |
The test TimestampItem. |
TimestampItemNormalizerTest::$normalizer | property | core/ |
|
TimestampItemNormalizerTest::createTimestampItemProphecy | function | core/ |
Creates a TimestampItem prophecy. |
TimestampItemNormalizerTest::setUp | function | core/ |
|
TimestampItemNormalizerTest::testDenormalize | function | core/ |
@covers ::denormalize |
TimestampItemNormalizerTest::testNormalize | function | core/ |
@covers ::normalize |
TimestampItemNormalizerTest::testSupportsDenormalization | function | core/ |
@covers ::supportsDenormalization |
TimestampItemNormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
TimestampNormalizer | class | core/ |
Converts values for the Timestamp data type to and from common formats. |
TimestampNormalizer.php | file | core/ |
|
TimestampNormalizer::$allowedFormats | property | core/ |
Allowed datetime formats for the denormalizer. |
TimestampNormalizer::denormalize | function | core/ |
|
TimestampNormalizer::getNormalizationTimezone | function | core/ |
Gets the timezone to be used during normalization. |
TimestampNormalizer::getSupportedTypes | function | core/ |
|
TimestampNormalizerTest | class | core/ |
Unit test coverage for the "Timestamp" @DataType. |
TimestampNormalizerTest.php | file | core/ |
|
TimestampNormalizerTest::$data | property | core/ |
The tested data type. |
TimestampNormalizerTest::$normalizer | property | core/ |
The tested data type's normalizer. |
TimestampNormalizerTest::providerTestDenormalizeValidFormats | function | core/ |
Data provider for testDenormalizeValidFormats. |
TimestampNormalizerTest::setUp | function | core/ |
|
TimestampNormalizerTest::testDenormalizeException | function | core/ |
Tests the denormalize function with bad data. |
TimestampNormalizerTest::testDenormalizeValidFormats | function | core/ |
Tests the denormalize function with good data. |
TimestampNormalizerTest::testNormalize | function | core/ |
@covers ::normalize |
TimestampNormalizerTest::testSupportsDenormalization | function | core/ |
@covers ::supportsDenormalization |
TimestampNormalizerTest::testSupportsNormalization | function | core/ |
@covers ::supportsNormalization |
TimestampNormalizerTestDrupalDateTime | class | core/ |
Provides a test class for testing DrupalDateTime. |
TimestampNormalizerTestDrupalDateTime::setTimezone | function | core/ |
|
TourResourceTestBase::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
TourResourceTestBase::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
TraversableObjectNormalizer | class | core/ |
Normalizes TraversableObject. |
TraversableObjectNormalizer.php | file | core/ |
|
TraversableObjectNormalizer::getSupportedTypes | function | core/ |
|
TraversableObjectNormalizer::normalize | function | core/ |
|
TypedDataNormalizer | class | core/ |
Converts typed data objects to arrays. |
TypedDataNormalizer.php | file | core/ |
|
TypedDataNormalizer::getSupportedTypes | function | core/ |
|
TypedDataNormalizer::hasCacheableSupportsMethod | function | core/ |
|
TypedDataNormalizer::normalize | function | core/ |
|
TypedDataNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\serialization\Normalizer\TypedDataNormalizer @group serialization |
TypedDataNormalizerTest.php | file | core/ |
|
TypedDataNormalizerTest::$normalizer | property | core/ |
The TypedDataNormalizer instance. |
TypedDataNormalizerTest::$typedData | property | core/ |
The mock typed data instance. |
TypedDataNormalizerTest::setUp | function | core/ |
|
TypedDataNormalizerTest::testNormalize | function | core/ |
Tests the normalize() method. |
TypedDataNormalizerTest::testSupportsNormalization | function | core/ |
Tests the supportsNormalization() method. |
UnprocessableHttpEntityExceptionNormalizer | class | core/ |
Normalizes and UnprocessableHttpEntityException. |
UnprocessableHttpEntityExceptionNormalizer.php | file | core/ |
|
UnprocessableHttpEntityExceptionNormalizer::buildErrorObjects | function | core/ |
Builds the normalized JSON:API error objects for the response. |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.