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
Flarum
Foundation
Application
runningUnitTests
Flarum\Foundation\Application::runningUnitTests PHP Method
Application Class Documentation
Show file
Open project: flarum/core
runningUnitTests()
public
method
Determine if we are running unit tests.
public
runningUnitTests
( ) :
boolean
return
boolean
public function runningUnitTests() { return $this['env'] == 'testing'; }
Application
__construct
addDeferredServices
basePath
bindPathsInContainer
boot
bootProvider
booted
booting
bound
config
environment
fireAppCallbacks
flush
getCachedCompilePath
getCachedServicesPath
getDeferredServices
getLoadedProviders
getProvider
inDebugMode
isBooted
isDeferredService
isDownForMaintenance
isInstalled
isUpToDate
loadDeferredProvider
loadDeferredProviders
make
markAsRegistered
publicPath
register
registerBaseBindings
registerBaseServiceProviders
registerConfiguredProviders
registerCoreContainerAliases
registerDeferredProvider
resolveProviderClass
runningInConsole
runningUnitTests
setBasePath
setDeferredServices
setPublicPath
storagePath
url
useStoragePath
version