Add tag support

This commit is contained in:
Alex 2026-06-08 13:00:11 -07:00
parent ce10245c51
commit ae440be40c
24 changed files with 475 additions and 15 deletions

View file

@ -43,6 +43,10 @@ final class BrainPhotosController extends AbstractController
$photos->setText($data->getText());
$photos->setUrl($data->getUrl());
foreach ($data->getTags() as $tag) {
$photos->addTag($tag);
}
$tax = $request->request->all('photos');
if ($data->getCategory() == null) {