Documentation

ContextInterface

Holds information about the current request.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Methods

getBasePath()  : string
Gets the base path.
isSecure()  : bool
Checks whether the request is secure or not.

Methods

getBasePath()

Gets the base path.

public getBasePath() : string
Return values
string

isSecure()

Checks whether the request is secure or not.

public isSecure() : bool
Return values
bool

        
On this page

Search results