Class LimitedScope (namespace Nette\Loaders)
Limited scope for PHP code evaluation and script including.
| Public Method Summary | |
|---|---|
| LimitedScope |
__construct
()
Static class - cannot be instantiated.
|
| static mixed |
evaluate
(string $_code, [$_vars =
NULL])
Evaluates code in limited scope.
|
| static mixed |
load
(string $_file, [$_vars =
NULL])
Includes script in a limited scope.
|
| Method Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 36 __constructpublic LimitedScope __construct () Static class - cannot be instantiated.
|
|||||||||||||||
|
line 49 evaluatepublic static mixed evaluate (string $_code, [$_vars = Evaluates code in limited scope.
|
|||||||||||||||
|
line 65 loadpublic static mixed load (string $_file, [$_vars = Includes script in a limited scope.
|
|||||||||||||||
