PHP 클래스 Zephir\CompilerFileAnonymous

This class represents an anonymous file created to dump the code produced by an internal closure
파일 보기 프로젝트 열기: phalcon/zephir

보호된 프로퍼티들

프로퍼티 타입 설명
$classDefinition ClassDefinition
$compiledFile
$config Zephir\Config
$external
$headerCBlocks
$logger Zephir\Logger
$namespace string

공개 메소드들

메소드 설명
__construct ( ClassDefinition $classDefinition, Zephir\Config $config, Zephir\Logger $logger ) CompilerFileAnonymous constructor
compile ( Compiler $compiler, zephir\StringsManager $stringsManager ) Compiles the file
compileClass ( ClassDefinition $classDefinition, zephir\CompilationContext $compilationContext ) Compiles the class/interface contained in the file
getClassDefinition ( ) : ClassDefinition
getCompiledFile ( ) : string Returns the path to the compiled file
isExternal ( ) : boolean
setIsExternal ( boolean $external ) Sets if the class belongs to an external dependency or not

메소드 상세

__construct() 공개 메소드

CompilerFileAnonymous constructor
public __construct ( ClassDefinition $classDefinition, Zephir\Config $config, Zephir\Logger $logger )
$classDefinition ClassDefinition
$config Zephir\Config
$logger Zephir\Logger

compile() 공개 메소드

Compiles the file
public compile ( Compiler $compiler, zephir\StringsManager $stringsManager )
$compiler Compiler
$stringsManager zephir\StringsManager

compileClass() 공개 메소드

Compiles the class/interface contained in the file
public compileClass ( ClassDefinition $classDefinition, zephir\CompilationContext $compilationContext )
$classDefinition ClassDefinition
$compilationContext zephir\CompilationContext

getClassDefinition() 공개 메소드

public getClassDefinition ( ) : ClassDefinition
리턴 ClassDefinition

getCompiledFile() 공개 메소드

Returns the path to the compiled file
public getCompiledFile ( ) : string
리턴 string

isExternal() 공개 메소드

public isExternal ( ) : boolean
리턴 boolean

setIsExternal() 공개 메소드

Sets if the class belongs to an external dependency or not
public setIsExternal ( boolean $external )
$external boolean

프로퍼티 상세

$classDefinition 보호되어 있는 프로퍼티

protected ClassDefinition,zephir $classDefinition
리턴 ClassDefinition

$compiledFile 보호되어 있는 프로퍼티

protected $compiledFile

$config 보호되어 있는 프로퍼티

protected Config,Zephir $config
리턴 Zephir\Config

$external 보호되어 있는 프로퍼티

protected $external

$headerCBlocks 보호되어 있는 프로퍼티

protected $headerCBlocks

$logger 보호되어 있는 프로퍼티

protected Logger,Zephir $logger
리턴 Zephir\Logger

$namespace 보호되어 있는 프로퍼티

protected string $namespace
리턴 string