PHP Класс Neos\Flow\Mvc\Routing\ObjectPathMappingRepository

См. также: Neos\Flow\Mvc\Routing\ObjectPathMapping
Наследование: extends Neos\Flow\Persistence\Repository
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$defaultOrderings array
$entityManager Doctrine\Common\Persistence\ObjectManager Doctrine's Entity Manager. Note that "ObjectManager" is the name of the related interface.

Открытые методы

Метод Описание
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

Описание методов

findOneByObjectTypeUriPatternAndIdentifier() публичный метод

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()
Результат ObjectPathMapping

findOneByObjectTypeUriPatternAndPathSegment() публичный метод

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
Результат ObjectPathMapping

persistEntities() публичный метод

Persists all entities managed by the repository and all cascading dependencies
public persistEntities ( ) : void
Результат void

Описание свойств

$defaultOrderings защищенное свойство

protected array $defaultOrderings
Результат array

$entityManager защищенное свойство

Doctrine's Entity Manager. Note that "ObjectManager" is the name of the related interface.
protected ObjectManager,Doctrine\Common\Persistence $entityManager
Результат Doctrine\Common\Persistence\ObjectManager