ncc/src/ncc/ThirdParty/theseer/Autoload/ParserInterface.php
Netkas 2b5c2b6829 Added third-party dependency theseer\Autoload
Added third-party dependency theseer\DirectoryScanner
Added warning if one or more components failed to load
Added more error-handling to autoload.php
Updated autoload.php
Updated .gitignore
Updated Makefile
Fixed namepsaces and added requirement theseer\DirectoryScanner for theseer\Autoload
Updated version.json
2022-09-22 17:43:02 -04:00

20 lines
528 B
PHP

<?php
namespace ncc\ThirdParty\theseer\Autoload;
/**
* Namespace aware parser to find and extract defined classes within php source files
*
* @author Arne Blankerts <arne@blankerts.de>
* @copyright Arne Blankerts <arne@blankerts.de>, All rights reserved.
*/
interface ParserInterface {
/**
* Parse a given file for defintions of classes, traits and interfaces
*
* @param SourceFile $source file to process
*
* @return ParseResult
*/
public function parse(SourceFile $source);
}