public Vote::addTags

Read it at the source

Description

public Vote->addTags ( array|string $tags ): bool

Add tag(s) on this Vote.

tags: array|string

Tag(s) are non-numeric alphanumeric string. They can be added by string separated by commas or an array. Tags will be trimmed.

Return value:

(bool) In case of success, return TRUE

Throws:

  • CondorcetPHP\Condorcet\Throwable\VoteInvalidFormatException


Tutorial