hedronium\Jables\Loader::parse PHP Method

parse() public method

public parse ( )
    public function parse()
    {
        foreach ($this->paths as $name => $path) {
            $ext = $this->fs->extension($path);
            $raw = $this->fs->get($path);
            try {
                $this->parsed[$name] = $this->extensions[$ext]($raw);
            } catch (\Seld\JsonLint\ParsingException $e) {
                throw new ParseException($name, $path, $e->getMessage());
            }
        }
    }