*/
protected string $cache;
- /**
- * The ContainerInterface instance
- *
- * @var ContainerInterface
- */
- protected $container;
-
/**
* The stream context instance
*/
//Set last modified
$response->setLastModified(\DateTime::createFromFormat('U', strval($mtime)));
+ //Disable robot index
+ $response->headers->set('X-Robots-Tag', 'noindex');
+
//Set as public
$response->setPublic();
//Set last modified
$response->setLastModified(\DateTime::createFromFormat('U', strval($mtime)));
+ //Disable robot index
+ $response->headers->set('X-Robots-Tag', 'noindex');
+
//Set as public
$response->setPublic();