Свойство | Тип | Описание | |
---|---|---|---|
$blacklistedSubPackages | array | Hardcoded list of Flow sub packages which must be immune proxying for security, technical or conceptual reasons. | |
$blacklistedSubPackagesLength | integer | See above. | |
$classesCache | |||
$objectManager | |||
$proxyClasses | array | ||
$reflectionService | |||
$settings | array | ||
$storedProxyClasses | array | The final map of proxy classes that end up in the cache. |
Метод | Описание | |
---|---|---|
__construct ( ) | Compiler constructor. | |
compile ( ) : integer | Compiles the configured proxy classes and methods as static PHP code and stores it in the proxy class code cache. | |
getProxyClass ( string $fullClassName ) : |
Returns a proxy class object for the specified original class. | |
getStoredProxyClassMap ( ) : string | ||
hasCacheEntryForClass ( string $fullClassName ) : boolean | Checks if the specified class still exists in the code cache. If that is the case, it means that obviously the proxy class doesn't have to be rebuilt because otherwise the cache would have been flushed by the file monitor or some other mechanism. | |
injectClassesCache ( |
Injects the cache for storing the renamed original classes and proxy classes | |
injectObjectManager ( |
||
injectReflectionService ( |
||
injectSettings ( array $settings ) : void | Injects the Flow settings | |
renderAnnotation ( Doctrine\Common\Annotations\Annotation $annotation ) : string | Render the source (string) form of an Annotation instance. |
Метод | Описание | |
---|---|---|
cacheOriginalClassFileAndProxyCode ( string $className, string $pathAndFilename, string $proxyClassCode ) : void | Reads the specified class file, appends ORIGINAL_CLASSNAME_SUFFIX to its class name and stores the result in the proxy classes cache. | |
renderOptionArrayValueAsString ( array $optionValue ) : string | Render an array value as string for an annotation. | |
stripOpeningPhpTag ( string $classCode ) : string | Removes the first opening php tag (" |
protected cacheOriginalClassFileAndProxyCode ( string $className, string $pathAndFilename, string $proxyClassCode ) : void | ||
$className | string | Short class name of the class to copy |
$pathAndFilename | string | Full path and filename of the original class file |
$proxyClassCode | string | The code that makes up the proxy class |
Результат | void |
public getProxyClass ( string $fullClassName ) : |
||
$fullClassName | string | Name of the original class |
Результат |
public getStoredProxyClassMap ( ) : string | ||
Результат | string |
public hasCacheEntryForClass ( string $fullClassName ) : boolean | ||
$fullClassName | string | Name of the original class |
Результат | boolean | TRUE if a cache entry exists |
public injectClassesCache ( |
||
$classesCache | ||
Результат | void |
public injectObjectManager ( |
||
$objectManager | ||
Результат | void |
public injectReflectionService ( |
||
$reflectionService | ||
Результат | void |
public injectSettings ( array $settings ) : void | ||
$settings | array | The settings |
Результат | void |
public static renderAnnotation ( Doctrine\Common\Annotations\Annotation $annotation ) : string | ||
$annotation | Doctrine\Common\Annotations\Annotation | |
Результат | string |
protected static renderOptionArrayValueAsString ( array $optionValue ) : string | ||
$optionValue | array | |
Результат | string |
protected stripOpeningPhpTag ( string $classCode ) : string | ||
$classCode | string | |
Результат | string | the original class code without opening php tag |
protected array $blacklistedSubPackages | ||
Результат | array |
protected int $blacklistedSubPackagesLength | ||
Результат | integer |
protected PhpFrontend,Neos\Cache\Frontend $classesCache | ||
Результат |
protected CompileTimeObjectManager,Neos\Flow\ObjectManagement $objectManager | ||
Результат |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
Результат |
protected array $storedProxyClasses | ||
Результат | array |