api/symfony/Component/Serializer/Tests/Mapping/Loader/Features/ContextMappingTestTrait.yaml
2024-09-26 02:03:21 -07:00

43 lines
1.2 KiB
YAML

name: ContextMappingTestTrait
class_comment: null
dependencies:
- name: Assert
type: class
source: PHPUnit\Framework\Assert
- name: ClassMetadata
type: class
source: Symfony\Component\Serializer\Mapping\ClassMetadata
- name: LoaderInterface
type: class
source: Symfony\Component\Serializer\Mapping\Loader\LoaderInterface
- name: ContextDummy
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummy
- name: ContextDummyParent
type: class
source: Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyParent
properties: []
methods:
- name: getLoaderForContextMapping
visibility: protected
parameters: []
comment: null
- name: testLoadContexts
visibility: public
parameters: []
comment: null
- name: assertLoadedContexts
visibility: public
parameters:
- name: dummyClass
default: ContextDummy::class
- name: parentClass
default: ContextDummyParent::class
comment: null
traits:
- PHPUnit\Framework\Assert
- Symfony\Component\Serializer\Mapping\ClassMetadata
- Symfony\Component\Serializer\Mapping\Loader\LoaderInterface
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummy
- Symfony\Component\Serializer\Tests\Fixtures\Attributes\ContextDummyParent
interfaces: []