abstract class AbstractPackageProvider implements ProviderInterface (View source)

Properties

protected Package $pkg
protected Application $app

Methods

__construct(Application $app, Package $pkg)

Constructor

CachedReader
getLegacyAnnotationReader()

Get LegacyAnnotationReader

CachedReader
getStandardAnnotationReader()

Get StandardAnnotationReader

CachedReader
getAnnotationReader()

Get the correct AnnotationReader based on the packages support for LegacyCore

bool
packageSupportsLegacyCore()

Package supports legacy core

Details

__construct(Application $app, Package $pkg)

Constructor

Parameters

Application $app
Package $pkg

protected CachedReader getLegacyAnnotationReader()

Get LegacyAnnotationReader

Return Value

CachedReader

with a \Doctrine\Common\Annotations\SimpleAnnotationReader

protected CachedReader getStandardAnnotationReader()

Get StandardAnnotationReader

Return Value

CachedReader

with a \Doctrine\Common\Annotations\AnnotationReader

protected CachedReader getAnnotationReader()

Get the correct AnnotationReader based on the packages support for LegacyCore

Return Value

CachedReader

protected bool packageSupportsLegacyCore()

Package supports legacy core

Return Value

bool