Prose\FromCheckpoint::get PHP Method

get() public method

public get ( $fieldName )
    public function get($fieldName)
    {
        // what are we doing?
        $log = usingLog()->startAction("get value of checkpoint field '{$fieldName}'");
        // get the checkpoint
        $checkpoint = getCheckpoint();
        // does the value exist?
        if (!isset($checkpoint->{$fieldName})) {
            throw new E5xx_ActionFailed(__METHOD__);
        }
        // all done
        $log->endAction();
        return $checkpoint->{$fieldName};
    }
FromCheckpoint