for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the FreshCentrifugoBundle.
*
* (c) Artem Henvald <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Fresh\CentrifugoBundle\Model;
/**
* ChannelCommandTrait.
* @author Artem Henvald <[email protected]>
trait ChannelCommandTrait
{
private string $channel;
* @return string[]
public function getChannels(): iterable
return [$this->channel];
}