Kraken\_Unit\Runtime\_T\TSolver::createChannel PHP Метод

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

public createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Результат Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
    public function createChannel($methods = [])
    {
        $channel = $this->getMock(Channel::class, $methods, [], '', false);
        if ($this->solver !== null && $this->existsProtectedProperty($this->solver, 'channel')) {
            $this->setProtectedProperty($this->solver, 'channel', $channel);
        }
        return $channel;
    }