$template->getId(), 'categories' => $template->getCategories(), 'thumbnail' => $template->getThumbnail(), 'name' => $template->getName(), 'description' => $template->getDescription(), 'readonly' => $template->getReadonly(), ]; } return $data; } }