Sulu\Bundle\TagBundle\Tag\TagManagerInterface::save PHP Method

save() public method

Saves the given Tag.
public save ( array $data, integer $userId, number | null $id = null )
$data array The data of the tag to save
$userId integer The id of the user, who is doing this change
$id number | null The id for saving the tag (optional)
    public function save($data, $userId, $id = null);