library psr4list
Returns the name of the classes in PSR4 path
koriym/psr4list
Returns the name of the classes in PSR4 path
- Wednesday, February 11, 2015
- by koriym
- Repository
- 1 Watchers
- 0 Stars
- 30,746 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 8 % Grown
Koriym.Psr4List
, (*1)
It gets the name of each of the files and class names of a particular PSR4 path., (*2)
Installation
$ composer require koriym/psr4list
Usage
use Koriym\Psr4List;
$list = new Psr4List;
$prefix = 'BEAR\Sunday';
$path = __DIR__ . '/src';
foreach ($list($prefix, $path) as list($class, $file)) {
var_dump($class);
var_dump($file);
}
dev-develop
dev-develop
Returns the name of the classes in PSR4 path
Sources
Download
BSD-3-Clause
psr4
dev-master
9999999-dev
Returns the name of the classes in PSR4 path
Sources
Download
BSD-3-Clause
psr4
1.0
1.0.0.0
Returns the name of the classes in PSR4 path
Sources
Download
BSD-3-Clause
psr4