Compiler
class Compiler
The Compiler class compiles the Silex framework.
This is deprecated. Use composer instead.
Properties
protected | $version |
Methods
compile(string $pharFile = 'silex.phar')
Compiles the Silex source code into one single Phar file.
getStub()
No description
static string
stripWhitespace(string $source)
Removes whitespace from a PHP source string while preserving line numbers.
Details
at line 33
compile(string $pharFile = 'silex.phar')
Compiles the Silex source code into one single Phar file.
at line 87
protected
addFile(Phar $phar, SplFileInfo $file, $strip = true)
at line 101
protected
getStub()
at line 161
static string
stripWhitespace(string $source)
Removes whitespace from a PHP source string while preserving line numbers.
Based on Kernel::stripComments(), but keeps line numbers intact.