Crummy\Phlack\Builder\AttachmentBuilder::setParameter PHP Method

setParameter() private method

Set $value to null to remove the custom value.
private setParameter ( string $name, $value )
$name string
$value
    private function setParameter($name, $value)
    {
        if (null !== $value && empty($value)) {
            return $this;
        }
        $this->data[$name] = $value;
        return $this;
    }