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
Show file Open project: neos/flow-development-collection

Public Methods

Method 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 method

public addPropertyAcceptsValidPropertyTypes ( $propertyType )

addPropertyRejectsInvalidPropertyTypes() public method

public addPropertyRejectsInvalidPropertyTypes ( $propertyType )

addPropertyStoresElementTypesForCollectionProperties() public method

Collections are arrays, ArrayObject and SplObjectStorage

collectionTypes() public method

public collectionTypes ( ) : array
return array

getIdentityPropertiesReturnsNamesAndTypes() public method

getPropertiesReturnsAddedProperties() public method

hasPropertyReturnsTrueOnlyForExistingProperties() public method

invalidPropertyTypes() public method

data provider for addPropertyRejectsInvalidPropertyTypes

isMultiValuedPropertyReturnsTrueForCollectionTypes() public method

isPropertyLazyReturnsAttributeForAddedProperties() public method

isPropertyTransientReturnsAttributeForAddedProperties() public method

markAsIdentityPropertyRejectsLazyLoadedProperties() public method

markAsIdentityPropertyRejectsUnknownProperties() public method

markAsIdentityPropertyThrowsExceptionForValueObjects() public method

setModelTypeResetsIdentityPropertiesAndAggregateRootForValueObjects() public method

validPropertyTypes() public method

data provider for addPropertyAcceptsValidPropertyTypes
public validPropertyTypes ( )