PHP Class Doctrine\OXM\Mapping\MappingException

Since: 2.0
Author: Richard Fullmer ([email protected])
Inheritance: extends Doctrine\OXM\OXMException
Mostrar archivo Open project: doctrine/oxm Class Usage Examples

Public Methods

Method Description
classIsNotAValidXmlEntity ( $className )
classIsNotAValidXmlEntityOrXmlMappedSuperClass ( $className )
couldNotInferGetterMethod ( $entityName, $fieldName )
couldNotInferSetterMethod ( $entityName, $fieldName )
customTypeWithoutNodeElement ( $className, $fieldName )
duplicateFieldMapping ( string $entity, string $fieldName )
duplicateXmlFieldName ( $className, $bindingName )
duplicateXmlNameBinding ( $className, $xmlName )
fieldGetMethodDoesNotExist ( $className, $fieldName, $getMethod )
fieldRequired ( $entityName, $fieldName )
fieldSetMethodDoesNotExist ( $className, $fieldName, $setMethod )
fieldTypeNotFound ( $className, $fieldName, $type )
fileMappingDriversRequiresConfiguredDirectoryPath ( $path = null )
invalidInheritanceType ( $entityName, $type )
invalidMapping ( string $fieldName ) Generic exception for invalid mappings.
mappingFileNotFound ( $entityName, $fileName )
mappingNotFound ( $className, $fieldName )
missingFieldForBinding ( $fieldName )
missingFieldName ( $entity )
missingFieldType ( $className, $fieldName )
noFieldNameFoundForXmlName ( $className, $column )
pathRequired ( )
propertyTypeIsRequired ( $className, $propertyName )
reflectionFailure ( string $entity, ReflectionException $previousException ) Exception for reflection exceptions - adds the entity name, because there might be long classnames that will be shortened within the stacktrace
xmlBindingTypeUnknown ( $fieldName, $bindingType )

Method Details

classIsNotAValidXmlEntity() public static method

public static classIsNotAValidXmlEntity ( $className )

classIsNotAValidXmlEntityOrXmlMappedSuperClass() public static method

public static classIsNotAValidXmlEntityOrXmlMappedSuperClass ( $className )

couldNotInferGetterMethod() public static method

public static couldNotInferGetterMethod ( $entityName, $fieldName )

couldNotInferSetterMethod() public static method

public static couldNotInferSetterMethod ( $entityName, $fieldName )

customTypeWithoutNodeElement() public static method

public static customTypeWithoutNodeElement ( $className, $fieldName )

duplicateFieldMapping() public static method

public static duplicateFieldMapping ( string $entity, string $fieldName )
$entity string The entity's name
$fieldName string The name of the field that was already declared

duplicateXmlFieldName() public static method

public static duplicateXmlFieldName ( $className, $bindingName )

duplicateXmlNameBinding() public static method

public static duplicateXmlNameBinding ( $className, $xmlName )

fieldGetMethodDoesNotExist() public static method

public static fieldGetMethodDoesNotExist ( $className, $fieldName, $getMethod )

fieldRequired() public static method

public static fieldRequired ( $entityName, $fieldName )

fieldSetMethodDoesNotExist() public static method

public static fieldSetMethodDoesNotExist ( $className, $fieldName, $setMethod )

fieldTypeNotFound() public static method

public static fieldTypeNotFound ( $className, $fieldName, $type )

fileMappingDriversRequiresConfiguredDirectoryPath() public static method

public static fileMappingDriversRequiresConfiguredDirectoryPath ( $path = null )

invalidInheritanceType() public static method

public static invalidInheritanceType ( $entityName, $type )

invalidMapping() public static method

Generic exception for invalid mappings.
public static invalidMapping ( string $fieldName )
$fieldName string

mappingFileNotFound() public static method

public static mappingFileNotFound ( $entityName, $fileName )

mappingNotFound() public static method

public static mappingNotFound ( $className, $fieldName )

missingFieldForBinding() public static method

public static missingFieldForBinding ( $fieldName )

missingFieldName() public static method

public static missingFieldName ( $entity )

missingFieldType() public static method

public static missingFieldType ( $className, $fieldName )

noFieldNameFoundForXmlName() public static method

public static noFieldNameFoundForXmlName ( $className, $column )

pathRequired() public static method

public static pathRequired ( )

propertyTypeIsRequired() public static method

public static propertyTypeIsRequired ( $className, $propertyName )

reflectionFailure() public static method

Exception for reflection exceptions - adds the entity name, because there might be long classnames that will be shortened within the stacktrace
public static reflectionFailure ( string $entity, ReflectionException $previousException )
$entity string The entity's name
$previousException ReflectionException

xmlBindingTypeUnknown() public static method

public static xmlBindingTypeUnknown ( $fieldName, $bindingType )