PHP Class Webiny\Component\StdLib\StdObject\AbstractStdObject

Extend this class when you want to create your own standard object.
Inheritance: implements Webiny\Component\StdLib\StdObject\StdObjectInterface, use trait Webiny\Component\StdLib\ValidatorTrait
ファイルを表示 Open project: Webiny/Framework

Public Methods

Method Description
exception ( $message ) : StdObjectException Throw a standard object exception.
val ( null $value = null ) : mixed Return, or update, current standard objects value.

Protected Methods

Method Description
getObject ( ) Returns an instance to current object.

Method Details

exception() public method

Throw a standard object exception.
public exception ( $message ) : StdObjectException
$message
return StdObjectException

getObject() protected method

Returns an instance to current object.
protected getObject ( )

val() public method

Return, or update, current standard objects value.
public val ( null $value = null ) : mixed
$value null If $value is set, value is updated and ArrayObject is returned.
return mixed