Methods Summary | ||
---|---|---|
protected static
|
||
protected static
|
||
protected static
|
#
getCachePath( )
Getter for the registered cache path.
Throws a ClassConfigNotRegisteredException if register() wasn't called prior.
|
|
protected static
|
#
getClassNamespace( )
Getter for the registered class namespace.
Throws a ClassConfigNotRegisteredException if register() wasn't called prior.
|
|
protected static
|
#
generate( ClassConfig\Annotation\Config $annotation , string $className , string $classNamespace , string $canonicalClassName , string $targetClassNamespace , string $targetCanonicalClassName , int $time , int & $subClassIteration = 0 )
|
|
public static
|
||
public static
|
||
public static
|
Constants Summary | ||
---|---|---|
public
int
|
CACHE_NEVER
Config files are always re-generated when requested.
|
#
0
|
public
int
|
CACHE_VALIDATE
Config files are re-generated if older than the source (filemtime).
|
#
1
|
public
int
|
CACHE_ALWAYS
Config files are only generated once (or after being manually deleted).
|
#
2
|
Properties Summary | ||
---|---|---|
protected static
bool
|
$registered
Flag to determine whether the register() method has been called.
|
#
false
|
protected static
Doctrine\Common\Annotations\AnnotationReader
|
$annotationReader
In-memory cache for the annotation reader.
|
#
NULL
|
protected static
string
|
$cachePath
The registered path to a cache folder.
|
#
NULL
|
protected static
int
|
$cacheStrategy
The registered caching strategy.
|
#
NULL
|
protected static
string
|
$classNamespace
The registered class namespace for config classes.
This will be used as prefix to source classes.
|
#
NULL
|