PHP Class Neos\Flow\Mvc\Routing\ObjectPathMappingRepository

See also: Neos\Flow\Mvc\Routing\ObjectPathMapping
Inheritance: extends Neos\Flow\Persistence\Repository
ファイルを表示 Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$defaultOrderings array
$entityManager Doctrine\Common\Persistence\ObjectManager Doctrine's Entity Manager. Note that "ObjectManager" is the name of the related interface.

Public Methods

Method Description
findOneByObjectTypeUriPatternAndIdentifier ( string $objectType, string $uriPattern, string | integer $identifier ) : ObjectPathMapping
findOneByObjectTypeUriPatternAndPathSegment ( string $objectType, string $uriPattern, string $pathSegment, boolean $caseSensitive = false ) : ObjectPathMapping
persistEntities ( ) : void Persists all entities managed by the repository and all cascading dependencies

Method Details

findOneByObjectTypeUriPatternAndIdentifier() public method

public findOneByObjectTypeUriPatternAndIdentifier ( string $objectType, string $uriPattern, string | integer $identifier ) : ObjectPathMapping
$objectType string the object type of the ObjectPathMapping object
$uriPattern string the URI pattern of the ObjectPathMapping object
$identifier string | integer the identifier of the object, for example the UUID, @see \Neos\Flow\Persistence\PersistenceManagerInterface::getIdentifierByObject()
return ObjectPathMapping

findOneByObjectTypeUriPatternAndPathSegment() public method

public findOneByObjectTypeUriPatternAndPathSegment ( string $objectType, string $uriPattern, string $pathSegment, boolean $caseSensitive = false ) : ObjectPathMapping
$objectType string the object type of the ObjectPathMapping object
$uriPattern string the URI pattern of the ObjectPathMapping object
$pathSegment string the URI path segment of the ObjectPathMapping object
$caseSensitive boolean whether the path segment lookup should be done case-sensitive
return ObjectPathMapping

persistEntities() public method

Persists all entities managed by the repository and all cascading dependencies
public persistEntities ( ) : void
return void

Property Details

$defaultOrderings protected_oe property

protected array $defaultOrderings
return array

$entityManager protected_oe property

Doctrine's Entity Manager. Note that "ObjectManager" is the name of the related interface.
protected ObjectManager,Doctrine\Common\Persistence $entityManager
return Doctrine\Common\Persistence\ObjectManager