Devise
Class

Devise\Pages\Viewvars\DataCrawler

class DataCrawler

Purpose of this class is to turn something like this in the view vars into a parameter value we can use.

'someVar' => ['Some\Namespaced\Class.methodName' => ['value' => 'asfd', 'params.pageId', 'input']]

Constants

PARAM_NOT_FOUND

This is used to denote that a parameter was not found

Methods

mixed extract(array $data, string $dotPath)

Gets the value of a param by it's name

Details

at line 24
public mixed extract(array $data, string $dotPath)

Gets the value of a param by it's name

Parameters

array $data
string $dotPath

Return Value

mixed