Append Tosign to the list.

@param string $tosign
@return $this
762230
public function addTosign($tosign)
    {
        if (!$this->getTosign()) {
            return $this->setTosign(array($tosign));
        } else {
            return $this->setTosign(
                array_merge($this->getTosign(), array($tosign))
            );
        }
    }
548615
public function signCertificate($smimeSigner)
    {
        if ($smimeSigner instanceof \Closure) {
            $signer = \Swift_Signers_SMimeSigner::newInstance();
            call_user_func_array($smimeSigner, [& $signer]);
            $this->message->attachSigner($signer);
        }

        return $this;
    }
503069
public function appendPosition($length)
    {
        $this->dataPosition = (int) $this->dataPosition;
        $this->dataPosition += (int) $length;
        return $this;
    }
480144
public function append($label): self
    {
        $label = $this->filterComponent($label);
        if (null === $label) {
            return $this;
        }

        return new self($this->getContent().self::SEPARATOR.$label);
    }
1181021
public function addOr($expression)
    {
        if ($this->currentField) {
            $this->expr[$this->currentField]['$or'][] = $this->ensureArray($expression);
        } else {
            $this->expr['$or'][] = $this->ensureArray($expression);
        }

        return $this;
    }
217803
public function addTo( $to = [ ] )
    {
        $this->to[ ] = $to;

        if ( is_array( $to ) )
        {
            $result = $this->mailer->addAddress( $to[ 'address' ], $to[ 'name' ] );
        }
        elseif ( is_string( $to ) )
        {
            $result = $this->mailer->addAddress( $to );
        }
        else
        {
            throw new MailException( 'Something went wrong with adding TO recipient' );
        }

        return $result;
    }
1336073
public function addGroupBy($expression)
    {
        if (!($expression instanceof Expression)) {
            $expression = new Column($expression);
        }
        
        $this->expressions->set($expression->hashCode(), $expression);
        
        return $this;
    }
496325
public function appendToEachKey($prefix): self
    {
        // init
        $result = [];

        foreach ($this->getGenerator() as $key => $item) {
            if ($item instanceof self) {
                $result[$prefix . $key] = $item->appendToEachKey($prefix);
            } elseif (\is_array($item)) {
                $result[$prefix . $key] = self::create($item, $this->iteratorClass, false)
                    ->appendToEachKey($prefix)
                    ->toArray();
            } else {
                $result[$prefix . $key] = $item;
            }
        }

        return self::create($result, $this->iteratorClass, false);
    }
187449
protected function moveRegisterAssets($append = true) {
        foreach ($this->currentRegisterAssets as $key => $item) {
            if (empty($item)) {
                continue;
            }
            $this->registerAssets[$key] = $this->_mergeAssets($this->registerAssets[$key], $item, $append);
            $this->currentRegisterAssets[$key] = [];
        }
        return $this;
    }
690444
public function appendSign(callable $middleware, $name = null)
    {
        $this->add(self::SIGN, $name, $middleware);
    }
986007
public function append($road) {
        if (!in_array($road->getName(), $this->priorityQueue)) {
            $this->put($road);
            array_push($this->priorityQueue, $road->getName());
        }
        return $this;
    }
143437
public function setIdent($ident)
    {
        if ($ident === null) {
            $this->ident = null;
            return $this;
        }

        if (!is_string($ident)) {
            throw new InvalidArgumentException(
                sprintf(
                    '[%s] Identifier must be a string; received %s',
                    get_called_class(),
                    (is_object($ident) ? get_class($ident) : gettype($ident))
                )
            );
        }

        $this->ident = $ident;

        return $this;
    }
254801
final public function setAlign($align)
    {
        $sides = [
            'left',
            'right'
        ];

        if (! in_array($align, $sides)) {
            Throw new HtmlException(sprintf('Your "%s" is not a valid navbar element position. Allowed are %s.', $align, implode(', ', $sides)));
        }

        $this->side = $align;

        return $this;
    }
5373
public function listAppend($operand)
    {
        $operand = $this->path->getExpr()->value($operand);

        return new ListAppend($this, $operand);
    }
947287
public function addCampaign(\CampaignChain\CoreBundle\Entity\Campaign $campaigns)
    {
        $this->campaigns[] = $campaigns;

        return $this;
    }
372353
public function addGlyph(Vector $v, $identifier = null) {
		$v = $v->getCopy();
		$v->setIdentifier($identifier);
		$this->glyphs[] = $v;
		return $this;
	}
447794
public function append($string)
    {
        $this->value = Character::ensureTrailing($string, $this->value);

        return $this;
    }