PHP Class VersionPress\Utils\Cursor

It enabled to create a "pointer" to some nested value, read it and change it.
显示文件 Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
__construct ( &$data, $path )
getValue ( )
setValue ( $value )

Private Methods

Method Description
ensureReference ( )
setReference ( )

Method Details

__construct() public method

public __construct ( &$data, $path )

getValue() public method

public getValue ( )

setValue() public method

public setValue ( $value )