You are here

public function Parser::__construct in Subrequests 8

Parser constructor.

File

src/Blueprint/Parser.php, line 36

Class

Parser
TODO: Change this comment. We'll use the serializer instead. Base class for blueprint parsers. There may be slightly different blueprint formats depending on the encoding. For instance, JSON encoded blueprints will reference other properties in…

Namespace

Drupal\subrequests\Blueprint

Code

public function __construct(SerializerInterface $serializer) {
  $this->serializer = $serializer;
}