Compiler
in package
FinalYes
Table of Contents
Properties
- $aspectMapFactory : AspectMapFactory
- $compiledPath : CompiledPath
- $compiler : Compiler
- The Ray compiler.
- $interceptMap : InterceptMap
- $sourceMapFile : SourceMapFile
- $sourceMapFileManager : SourceMapFileManager
Methods
- __construct() : mixed
- Create a new instance.
- compile() : void
- Compile AOP classes.
- changePermissionOfCompiledClasses() : void
- Change the permission of the compiled classes.
- cleanCompiledFiles() : void
- Remove all compiled files.
Properties
$aspectMapFactory read-only
private
AspectMapFactory
$aspectMapFactory
$compiledPath read-only
private
CompiledPath
$compiledPath
$compiler
The Ray compiler.
private
Compiler
$compiler
$interceptMap read-only
private
InterceptMap
$interceptMap
$sourceMapFile read-only
private
SourceMapFile
$sourceMapFile
$sourceMapFileManager read-only
private
SourceMapFileManager
$sourceMapFileManager
Methods
__construct()
Create a new instance.
public
__construct(CompiledPath $compiledPath, InterceptMap $interceptMap, AspectMapFactory $aspectMapFactory, SourceMapFile $sourceMapFile, SourceMapFileManager $sourceMapFileManager) : mixed
Parameters
- $compiledPath : CompiledPath
-
The compiled path
- $interceptMap : InterceptMap
-
The intercept map
- $aspectMapFactory : AspectMapFactory
-
The aspect map factory
- $sourceMapFile : SourceMapFile
-
The source map file
- $sourceMapFileManager : SourceMapFileManager
-
The source map file manager
compile()
Compile AOP classes.
public
compile() : void
changePermissionOfCompiledClasses()
Change the permission of the compiled classes.
private
changePermissionOfCompiledClasses() : void
Change the permission of the classes by the Ray compiler to 644 so that it can be read from the web server, because the Ray compiler creates the classes with the permission of 600.
cleanCompiledFiles()
Remove all compiled files.
private
cleanCompiledFiles() : void