You are here

public function FeedsExJmesPathV1Wrapper::__invoke in Feeds extensible parsers 7

Version 2 runtimes are invokable objects.

File

src/FeedsExJmesPath.inc, line 307
Contains FeedsExJmesPath.

Class

FeedsExJmesPathV1Wrapper
Converts version 1 runtimes to version 2.

Code

public function __invoke($expression, $data) {
  return $this->runtime
    ->search($expression, $data);
}