class TagRepository extends Repository (View source)

A repository for Tags

Properties

protected array $defaultOrderings

Methods

QueryResultInterface
findBySearchTerm(string $searchTerm)

No description

QueryResultInterface
findByAssetCollections(array $assetCollections)

No description

Tag
findOneByLabel(string $label)

No description

QueryResult
findByParent(Tag $tag)

No description

Details

QueryResultInterface findBySearchTerm(string $searchTerm)

No description

Parameters

string $searchTerm

Return Value

QueryResultInterface

Exceptions

InvalidQueryException

QueryResultInterface findByAssetCollections(array $assetCollections)

No description

Parameters

array $assetCollections

Return Value

QueryResultInterface

Exceptions

InvalidQueryException

Tag findOneByLabel(string $label)

No description

Parameters

string $label

Return Value

Tag

QueryResult findByParent(Tag $tag)

No description

Parameters

Tag $tag

Return Value

QueryResult