Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Dingo
Api
Routing
Route
secure
Dingo\Api\Routing\Route::secure PHP Method
Route Class Documentation
Show file
Open project: dingo/api
secure()
public
method
Determine if the route only responds to HTTPS requests.
public
secure
( ) :
boolean
return
boolean
public function secure() { return in_array('https', $this->action, true); }
Route
__construct
authenticationProviders
controllerUsesHelpersTrait
domain
explodeOnPipes
findControllerPropertyOptions
getAction
getActionName
getAuthenticationProviders
getControllerInstance
getMethods
getMiddleware
getName
getOriginalRoute
getPath
getRateLimit
getRateLimitExpiration
getScopes
getThrottle
getVersions
hasThrottle
httpOnly
httpsOnly
isProtected
makeControllerInstance
mergeControllerProperties
methods
middleware
optionsApplyToControllerMethod
rateLimit
rateLimitExpiration
requestIsConditional
scopeStrict
scopes
secure
setupRouteProperties
throttle
uri
versions