StandardPackageProvider
class StandardPackageProvider extends AbstractPackageProvider (View source)
A simple, standard package provider; provide a Concrete\Core\Package\Package controller, and a path (or array of paths) to PHP entity classes. This uses the annotation driver.
Class PackageProvider
Properties
protected Package | $pkg | from AbstractPackageProvider | |
protected Application | $app | from AbstractPackageProvider | |
protected array | $locations |
Methods
CachedReader
getStandardAnnotationReader()
Get StandardAnnotationReader
CachedReader
getAnnotationReader()
Get the correct AnnotationReader based on the packages support for LegacyCore
getDrivers()
No description
Details
__construct(Application $app, Package $pkg, array $locations)
Constructor
protected CachedReader
getLegacyAnnotationReader()
Get LegacyAnnotationReader
protected CachedReader
getStandardAnnotationReader()
Get StandardAnnotationReader
protected CachedReader
getAnnotationReader()
Get the correct AnnotationReader based on the packages support for LegacyCore
protected bool
packageSupportsLegacyCore()
Package supports legacy core
DriverInterface[]
getDrivers()
No description