PHP Class Fenos\Notifynder\Notifications\ExtraParams

Inheritance: implements ArrayAcces\ArrayAccess, implements Illuminate\Contracts\Support\Arrayable, implements Illuminate\Contracts\Support\Jsonable, implements JsonSerializabl\JsonSerializable
Datei anzeigen Open project: fenos/notifynder

Protected Properties

Property Type Description
$extraParams array | stdClas\stdClass | string

Public Methods

Method Description
__construct ( $extraParams ) Jsonable constructor.
__get ( $name ) : mixed is utilized for reading data from inaccessible members.
__toString ( ) : string The __toString method allows a class to decide how it will react when it is converted to a string.
has ( $name ) : boolean Check if the extra param exists.
isJson ( $value ) : boolean Check if the value is a json string.
jsonSerialize ( ) : array Convert the object into something JSON serializable.
offsetExists ( mixed $offset ) : boolean Whether a offset exists.
offsetGet ( mixed $offset ) : mixed
offsetSet ( mixed $offset, mixed $value )
offsetUnset ( mixed $offset )
toArray ( ) : array
toJson ( integer $options ) : string Convert the model instance to JSON.

Method Details

__construct() public method

Jsonable constructor.
public __construct ( $extraParams )
$extraParams

__get() public method

is utilized for reading data from inaccessible members.
public __get ( $name ) : mixed
$name string
return mixed

__toString() public method

The __toString method allows a class to decide how it will react when it is converted to a string.
public __toString ( ) : string
return string

has() public method

Check if the extra param exists.
public has ( $name ) : boolean
$name
return boolean

isJson() public method

Check if the value is a json string.
public isJson ( $value ) : boolean
$value
return boolean

jsonSerialize() public method

Convert the object into something JSON serializable.
public jsonSerialize ( ) : array
return array

offsetExists() public method

Whether a offset exists.
public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean

offsetGet() public method

public offsetGet ( mixed $offset ) : mixed
$offset mixed
return mixed Can return all value types.

offsetSet() public method

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

offsetUnset() public method

public offsetUnset ( mixed $offset )
$offset mixed

toArray() public method

public toArray ( ) : array
return array

toJson() public method

Convert the model instance to JSON.
public toJson ( integer $options ) : string
$options integer
return string

Property Details

$extraParams protected_oe property

protected array|stdClass,stdClas|string $extraParams
return array | stdClas\stdClass | string