PHP Class Devise\Pages\Viewvars\DataCrawler

'someVar' => ['Some\Namespaced\Class.methodName' => ['value' => 'asfd', 'params.pageId', 'input']]
Afficher le fichier Open project: devisephp/cms

Méthodes publiques

Méthode Description
extract ( array $data, string $dotPath ) : mixed Gets the value of a param by it's name

Private Methods

Méthode Description
followDataPath ( array $data, string $path, integer $index ) : mixed Follows an array recursively to retrieve data from view objects
getUsingString ( object $data, string $propertyName ) : mixed Gets a property from an object or an array using a string
propertyAvailable ( object $object, string $name ) : mixed Tells us if this property is available on this object

Method Details

extract() public méthode

Gets the value of a param by it's name
public extract ( array $data, string $dotPath ) : mixed
$data array
$dotPath string
Résultat mixed