GraphAware\Reco4PHP\Context\SimpleContext::config PHP Method

config() public method

public config ( ) : GraphAware\Reco4PHP\Config\Config
return GraphAware\Reco4PHP\Config\Config
    public function config() : Config
    {
        return $this->config;
    }

Usage Example

 public function testDefault()
 {
     $input = FakeNode::createDummy();
     $context = new SimpleContext();
     $this->assertInstanceOf(Config::class, $context->config());
 }