PHP Trait MenaraSolutions\Geographer\Traits\ExposesFields

Show file Open project: menarasolutions/geographer

Public Methods

Method Description
__call ( $methodName, $args ) : string | integer
__get ( $field ) : string
offsetExists ( mixed $offset ) : boolean
offsetGet ( mixed $offset ) : mixed
offsetSet ( mixed $offset, mixed $value ) : void
offsetUnset ( mixed $offset ) : void
toArray ( ) : array

Protected Methods

Method Description
extract ( string $path ) : mixed

Method Details

__call() public method

public __call ( $methodName, $args ) : string | integer
$methodName
$args
return string | integer

__get() public method

public __get ( $field ) : string
$field
return string

extract() protected method

protected extract ( string $path ) : mixed
$path string
return mixed

offsetExists() public method

public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean

offsetGet() public method

public offsetGet ( mixed $offset ) : mixed
$offset mixed
return mixed

offsetSet() public method

public offsetSet ( mixed $offset, mixed $value ) : void
$offset mixed

$value mixed

return void

offsetUnset() public method

public offsetUnset ( mixed $offset ) : void
$offset mixed
return void

toArray() public method

public toArray ( ) : array
return array