@param string $channelName

@return $this
175992
public function displayResponseToEveryoneOnChannel(string $channelName = '')
    {
        $this->responseType = 'in_channel';

        if ($channelName !== '') {
            $this->onChannel($channelName);
        }

        return $this;
    }
1015158
private function setDomainName(?string $domainName): self
    {
        $this->updatePropertyValue(
            DomainNameFieldInterface::PROP_DOMAIN_NAME,
            $domainName
        );

        return $this;
    }
572116
public function setTableName($tableName)
    {
        if (trim($tableName) == '') {
            $tableName = null;
        }
        $this->tableName = $tableName;

        return $this;
    }
650037
protected function extend( string$fileName ):self
	{
		$this->parent= new static($this->htsl,$this->buffer->goSide($fileName));

		$this->docType= $this->parent->docType;
		$this->indentation= $this->parent->indentation;

		return $this;
	}
201180
public function named(string $className): self
    {
        if ($this->isFinalized) {
            throw new FinalizedMockException();
        }

        if ('' !== $className) {
            if (
                !preg_match('/^' . static::SYMBOL_PATTERN . '$/S', $className)
            ) {
                throw new InvalidClassNameException($className);
            }
        }

        $this->className = $className;

        return $this;
    }
585570
public function writeStartElement(string $elementName): self
    {
        $this->doWriteStartElement($elementName);
        $this->depth++;
        return $this;
    }
94303
public function setChannel($channel)
    {
        $this->removeTarget();

        if ($channel) {
            $this->channel = (string) $channel;
        }

        return $this;
    }
843979
public function setChannelType($channelType)
    {
        if(!in_array($channelType, array(self::CHANNELTYPE_EBAYITEM, self::CHANNELTYPE_MERCHANT))) {
            throw new \Exception('Invalid channel type passed.');
        }
        $this->channelType = $channelType;

        return $this;
    }
1244392
public function remove($columnName)
    {
        if (isset($this->filterDefinitions[$columnName])) {
            unset($this->filterDefinitions[$columnName]);
        }

        return $this;
    }
1145138
public function setKeyName($keyName)
    {
        $this->keyName     = (string)$keyName;
        $this->keyCode     = null;
        $this->charPressed = null;
        return $this;
    }
490166
function set($key, $value) {
        parent::set($key, $value);
        if($this !== $this->client->channels) {
            $this->client->channels->set($key, $value);
        }
        
        return $this;
    }
948239
public function channel($parameters)
	{
		if (!array_key_exists('title', $parameters) || !array_key_exists('description', $parameters) || !array_key_exists('link', $parameters))
		{
			throw new \Exception('Parameter required missing : title, description or link');
		}

		$this->channel = $parameters;

		return $this;
	}
1139091
public function setTemplate($templateName)
    {
    	if($templateName instanceof MailTemplate)
    	{
    		$this->template = $templateName;
    	}
    	elseif (!$this->template = $this->mailerManager->getRepository()->findOneBy(array('name' => $templateName)))
    	{
    		$this->template =  $this->mailerManager->createDefault($templateName);
    	}
    
    	return $this;
    }
1327549
public function CreateChannel($channelName , $private = null){
        $private = $private == null ? "" : "&private=true";
        $fullUrlApi = $this->url.'apps/'.$this->appKey.'/channels/'.$channelName.'?app_secret='.$this->token.$private;
        try{
            return $this->PostData($fullUrlApi , '' , 'POST');
        }catch(Exception $ex){
            exit();
        }
    }
774483
public function addChannel(\CampaignChain\CoreBundle\Entity\Channel $channels)
    {
        $this->channels[] = $channels;

        return $this;
    }
208440
public function setSlotName($slotName)
    {
        if (!is_string($slotName)) {
            throw new \InvalidArgumentException(sprintf('The slot name passed to "%s" must be a string', get_class($this)));
        }        
        $this->slotName = $slotName;
        
        return $this;
    }
1126534
public function setGreen($value)
    {
        $this->assertChannelValue($value, self::CHANNEL_GREEN);
        $this->green = $value;

        return $this;
    }