/** * Generate a new Tag * * This command inserts a new Tag record into the database. Mostly used for development while management * tools for tags are not yet available * * @param string $value The value of the tag to generate * @return void */ public function tagCommand($value) { $tag = new Tag($value); $this->tagRepository->add($tag); $this->outputLine('Tag with value "%s" added to the database.', array($value)); }