Pionia Core

AppHelpersTrait

Table of Contents

Properties

$APP_NAME  : string
$version  : string

Methods

appName()  : string
Our application name
environment()  : string
isConsoleApp()  : bool
isDebug()  : mixed
isDevelopment()  : bool
isLinux()  : bool
isMac()  : bool
isProduction()  : bool
isRestApp()  : bool
isTesting()  : bool
isWindows()  : bool
os()  : string
setAppName()  : void
Change the core app name
version()  : string

Properties

Methods

appName()

Our application name

public appName() : string
Return values
string

isDevelopment()

public isDevelopment() : bool
Return values
bool

If we are in development mode

setAppName()

Change the core app name

public setAppName( $name) : void
Parameters
$name :

version()

public version() : string
Return values
string

The version of the application


        
On this page

Search results