src/DefaultContextFactory.php
public function createContext($data = null): Context
    {
        $context = new DefaultContext($this, $data);
        $context->setAccessPolicy($this->defaultAccessPolicy);
        
        return $context;
    }
public function createContext($data = null): Context
    {
        $context = new DefaultContext($this, $data);
        $context->setAccessPolicy($this->defaultAccessPolicy);
        
        return $context;
    }
{@inheritdoc}