Documentation

DisallowRobotsIndexingListener
in package
implements EventSubscriberInterface

Ensures that the application is not indexed by search engines.

Tags
author

Gary PEGEOT garypegeot@gmail.com

Interfaces, Classes and Traits

EventSubscriberInterface
An EventSubscriber knows itself what events it is interested in.

Table of Contents

HEADER_NAME  = 'X-Robots-Tag'
getSubscribedEvents()  : array<string, string|array{0: string, 1: int}|list>
Returns an array of event names this subscriber wants to listen to.
onResponse()  : void

Constants

Methods

getSubscribedEvents()

Returns an array of event names this subscriber wants to listen to.

public static getSubscribedEvents() : array<string, string|array{0: string, 1: int}|list>
Return values
array<string, string|array{0: string, 1: int}|list>

Search results