35         $this->config_reader = $this->createMock(ConfigReader::class);
    40                 $this->config_reader = $cr;
    43             public function _readAgentConfig(
Agent $agent, InputInterface $input, 
string $use_config_field = null): ?
Config    52         $agent = $this->createMock(Agent::class);
    53         $ii = $this->createMock(InputInterface::class);
    60         $this->assertNull($this->has_config_reader->_readAgentConfig($agent, $ii));
 Read a json-formatted config from a file and overwrite some fields. 
 
ConfigReader $config_reader
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct()
Constructor setup ILIAS global object  public. 
 
readAgentConfig(Agent $agent, InputInterface $input, string $use_config_field=null)
 
testReadAgentConfigWithoutConfig()
 
A configuration for the setup. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
trait HasConfigReader
Add this to an Command that has an config reader.