function Manager::initialize
Parameters
Behavior $behaviour:
Resolvable $resolver:
Collectable $collection:
Return value
self
1 call to Manager::initialize()
- file_register_phar_wrapper in includes/
file.phar.inc - Registers a phar stream wrapper that is more secure than PHP's built-in one.
File
-
misc/
typo3/ phar-stream-wrapper/ src/ Manager.php, line 46
Class
Namespace
TYPO3\PharStreamWrapperCode
public static function initialize(Behavior $behaviour, Resolvable $resolver = null, Collectable $collection = null) {
if (self::$instance === null) {
self::$instance = new self($behaviour, $resolver, $collection);
return self::$instance;
}
throw new \LogicException('Manager can only be initialized once', 1535189871);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.