Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 309 Bytes
<?php
require __DIR__ . '/../src/autoload.php';
$parser = new \TheSeer\Autoload\Parser;
$result = $parser->parse(new \TheSeer\Autoload\SourceFile(__DIR__ . '/../src/Parser.php'));
var_dump($result->getUnits(), $result->getDependenciesForUnit(strtolower(\TheSeer\Autoload\ParserException::class)));
Something went wrong with that request. Please try again.