public function __construct() { $this->scope = new ClosureScope(); $this->instances = new SplObjectStorage(); $this->locks = 0; }