TagService
Methods
public __construct($tagRepository)
TagService constructor.
Type |
Name |
Description |
|
public getTagById($tagId):Tag
Get a tag by its id
Type |
Name |
Description |
|
The id of the tag |
public getTagName($tagId, $lang = null):string
Get the name of a tag for a specific language
Type |
Name |
Description |
|
The id of the tag |
|
|
The language to get the name in. |
Thank you for your feedback!