PHP Class Neos\Flow\Tests\Unit\Reflection\ClassSchemaTest

Note that many parts of the class schema functionality are already tested by the class schema builder testcase.
Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
addPropertyAcceptsValidPropertyTypes ( $propertyType )
addPropertyRejectsInvalidPropertyTypes ( $propertyType )
addPropertyStoresElementTypesForCollectionProperties ( ) Collections are arrays, ArrayObject and SplObjectStorage
collectionTypes ( ) : array
getIdentityPropertiesReturnsNamesAndTypes ( )
getPropertiesReturnsAddedProperties ( )
hasPropertyReturnsTrueOnlyForExistingProperties ( )
invalidPropertyTypes ( ) data provider for addPropertyRejectsInvalidPropertyTypes
isMultiValuedPropertyReturnsTrueForCollectionTypes ( string $type )
isPropertyLazyReturnsAttributeForAddedProperties ( )
isPropertyTransientReturnsAttributeForAddedProperties ( )
markAsIdentityPropertyRejectsLazyLoadedProperties ( )
markAsIdentityPropertyRejectsUnknownProperties ( )
markAsIdentityPropertyThrowsExceptionForValueObjects ( )
setModelTypeResetsIdentityPropertiesAndAggregateRootForValueObjects ( )
validPropertyTypes ( ) data provider for addPropertyAcceptsValidPropertyTypes

Method Details

addPropertyAcceptsValidPropertyTypes() public méthode

public addPropertyAcceptsValidPropertyTypes ( $propertyType )

addPropertyRejectsInvalidPropertyTypes() public méthode

public addPropertyRejectsInvalidPropertyTypes ( $propertyType )

addPropertyStoresElementTypesForCollectionProperties() public méthode

Collections are arrays, ArrayObject and SplObjectStorage

collectionTypes() public méthode

public collectionTypes ( ) : array
Résultat array

getIdentityPropertiesReturnsNamesAndTypes() public méthode

getPropertiesReturnsAddedProperties() public méthode

hasPropertyReturnsTrueOnlyForExistingProperties() public méthode

invalidPropertyTypes() public méthode

data provider for addPropertyRejectsInvalidPropertyTypes

isMultiValuedPropertyReturnsTrueForCollectionTypes() public méthode

isPropertyLazyReturnsAttributeForAddedProperties() public méthode

isPropertyTransientReturnsAttributeForAddedProperties() public méthode

markAsIdentityPropertyRejectsLazyLoadedProperties() public méthode

markAsIdentityPropertyRejectsUnknownProperties() public méthode

markAsIdentityPropertyThrowsExceptionForValueObjects() public méthode

setModelTypeResetsIdentityPropertiesAndAggregateRootForValueObjects() public méthode

validPropertyTypes() public méthode

data provider for addPropertyAcceptsValidPropertyTypes
public validPropertyTypes ( )