public function Context::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/recursion-context/src/Context.php \SebastianBergmann\RecursionContext\Context::__construct()
- 8 core/lib/Drupal/Core/Plugin/Context/Context.php \Drupal\Core\Plugin\Context\Context::__construct()
- 8 core/lib/Drupal/Component/Plugin/Context/Context.php \Drupal\Component\Plugin\Context\Context::__construct()
- 8 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Context.php \phpDocumentor\Reflection\DocBlock\Context::__construct()
Same name and namespace in other branches
- 8.0 vendor/sebastian/recursion-context/src/Context.php \SebastianBergmann\RecursionContext\Context::__construct()
Initialises the context
File
- vendor/
sebastian/ recursion-context/ src/ Context.php, line 32
Class
- Context
- A context containing previously processed arrays and objects when recursively processing a value.
Namespace
SebastianBergmann\RecursionContextCode
public function __construct() {
$this->arrays = array();
$this->objects = new \SplObjectStorage();
}