ClassMapGenerator

class ClassMapGenerator

ClassMapGenerator.

Methods

static dump(array|string $dirs, string $file)

Generate a class map file.

static array createMap(Iterator|string $dir)

Iterate over all files in the given directory searching for classes.

Details

static dump(array|string $dirs, string $file)

Generate a class map file.

Parameters

array|string $dirs Directories or a single path to search in
string $file The name of the class map file

static array createMap(Iterator|string $dir)

Iterate over all files in the given directory searching for classes.

Parameters

Iterator|string $dir The directory to search in or an iterator

Return Value

array A class map array
doc_Symfony
2016-10-28 06:08:49
Comments
Leave a Comment

Please login to continue.