Kraken\_Unit\Console\Server\_T\TCommand::createConfig PHP Метод

createConfig() публичный Метод

public createConfig ( string[] | null $data = [], string[] | null $methods = null ) : Kraken\Config\ConfigInterface | PHPUnit_Framework_MockObject_MockObject
$data string[] | null
$methods string[] | null
Результат Kraken\Config\ConfigInterface | PHPUnit_Framework_MockObject_MockObject
    public function createConfig($data = [], $methods = null)
    {
        $config = $this->getMock(Config::class, $methods, [$data]);
        if ($this->cmd !== null && $this->existsProtectedProperty($this->cmd, 'config')) {
            $this->setProtectedProperty($this->cmd, 'config', $config);
        }
        return $config;
    }