class Location extends Model

Location

{
    "remote": "https://svn.example.com/svn/trunk",
    "local": ".",
    "depthOption": "infinity",
    "ignoreExternalsOption": false
}

Properties

string $remote
string $local
string $depthOption
boolean $ignoreExternalsOption

Methods

static Model
getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

from Model
string
getRemote()

getRemote

string
getLocal()

getLocal

string
getDepthOption()

getDepthOption

boolean
getIgnoreExternalsOption()

getIgnoreExternalsOption

setRemote(string $remote)

setRemote

setLocal(string $local)

setLocal

setDepthOption(string $depthOption)

setDepthOption

setIgnoreExternalsOption(boolean $ignoreExternalsOption)

setIgnoreExternalsOption

static Location
getInstanceFromArray(Array $array)

getInstanceFromArray

Details

in Model at line 45
static Model getInstanceFromJson(string $json)

Instanz aus einem JSON-String erstellen

Parameters

string $json Json Zeichenkette

Return Value

Model Datenobjekt

Exceptions

TypeException Wenn die JSON-Zeichenkette kein Array abbildet oder Fehlerhaft ist

at line 72
string getRemote()

getRemote

Return Value

string

at line 81
string getLocal()

getLocal

Return Value

string

at line 90
string getDepthOption()

getDepthOption

Return Value

string

at line 99
boolean getIgnoreExternalsOption()

getIgnoreExternalsOption

Return Value

boolean

at line 110
Location setRemote(string $remote)

setRemote

Parameters

string $remote

Return Value

Location

at line 122
Location setLocal(string $local)

setLocal

Parameters

string $local

Return Value

Location

at line 134
Location setDepthOption(string $depthOption)

setDepthOption

Parameters

string $depthOption

Return Value

Location

at line 146
Location setIgnoreExternalsOption(boolean $ignoreExternalsOption)

setIgnoreExternalsOption

Parameters

boolean $ignoreExternalsOption

Return Value

Location

at line 168
static Location getInstanceFromArray(Array $array)

getInstanceFromArray

Aufbau des Json:

{
    "remote": "https://svn.example.com/svn/trunk",
    "local": ".",
    "depthOption": "infinity",
    "ignoreExternalsOption": false
}

Parameters

Array $array Daten

Return Value

Location