AssetsHelper
class AssetsHelper implements ProtectedContextAwareInterface (View source)
This is a helper for accessing assets from the media library
Properties
protected AssetRepository | $assetRepository | ||
protected TagRepository | $tagRepository | ||
protected AssetCollectionRepository | $assetCollectionRepository |
Methods
QueryResultInterface|null
findByTag(Tag|string|null $tag)
No description
QueryResultInterface|null
findByCollection(AssetCollection|string|null $collection)
No description
QueryResultInterface|null
search(string|null $searchTerm, array $tags = [], AssetCollection|string $collection = null)
No description
bool
allowsCallOfMethod(string $methodName)
No description
Details
QueryResultInterface|null
findByTag(Tag|string|null $tag)
No description
QueryResultInterface|null
findByCollection(AssetCollection|string|null $collection)
No description
QueryResultInterface|null
search(string|null $searchTerm, array $tags = [], AssetCollection|string $collection = null)
No description
bool
allowsCallOfMethod(string $methodName)
No description