Set parameter description

@param string|null $description
@return void
544561
public function setDescription($description)
    {
        if (!is_string($description) && (null !== $description)) {
            require_once 'Zend/Server/Reflection/Exception.php';
            throw new Zend_Server_Reflection_Exception('Invalid parameter description');
        }

        $this->_description = $description;
    }
538228
public function setDescription($description)
    {
        $this->meta()->setDescription($description);
        $this->openGraph()->setDescription($description);
        $this->twitter()->setDescription($description);

        return $this;
    }
536168
public function setDescription($description)
    {
        if (!$this->setHeaderFieldModel('Content-Description', $description)) {
            $this->headers->addTextHeader('Content-Description', $description);
        }

        return $this;
    }
193712
private function getCreatedAt(Description $description)
    {
        $createdAt = $description->getOptionalProperty('createdAt');

        return ($createdAt !== null) ? (new \DateTimeImmutable())->setTimestamp($createdAt) : null;
    }
614083
public function setParameter($parameter, $value)
    {
        if (is_bool($value)) {
            $value = $value ? '1' : '0';
        }

        $this->parameters[$parameter] = $value;
    }
1098933
public function setShortDescription($description)
    {
        $description = trim($description);
        if ($description === '') {
            $this->shortDescription = null;
        } else {
            $this->shortDescription = $description;
        }

        return $this;
    }
485782
public function set($name, $value = null)
    {
        if (!is_array($name)) {
            $name = [$name => $value];
        }

        foreach ($name as $name => $value) {
            $name = self::normalizeName($name);
            $value = self::normalizeValue($value);

            $this->parameters[$name] = $value;
        }
    }
1347397
public function setDescription($description)
    {
        // clean and store description
        // if is false, set false
        $this->description = (false == $description) ? $description : strip_tags(htmlentities($description));

        return $this;
    }
640289
public function setDescription($description)
    {
        if (is_null($description)) {
            unset($this->_headers['content-description']);
        } else {
            if (!($hdr = $this->_headers['content-description'])) {
                $hdr = new Horde_Mime_Headers_ContentDescription(null, '');
                $this->_headers->addHeaderOb($hdr);
            }
            $hdr->setValue($description);
        }
    }
29992
public function setDescription($description)
    {
        if (!is_string($description)) {
            throw new \InvalidArgumentException('The attribute description on the class Entity has to be string (' . gettype($description) . ('object' === gettype($description) ? ' ' . get_class($description) : '') . ' given).');
        }

        $this->description = $description;

        return $this;
    }
467992
public function description($description = null)
    {
        if ($description !== null) {
            $this->_description = $description;
        }
        return $this->_description;
    }
567277
public function setServiceDetailsMetadata(\AgentSIB\Diadoc\Api\Proto\Documents\UnilateralDocument\ServiceDetailsMetadata $value = null)
    {
        $this->ServiceDetailsMetadata = $value;
    }
815169
protected function setMetas($title = null, $description = null)
    {
        $meta = Config::getInstance()->get('Eureka\Global\Meta');

        if ($title !== null) {
            $meta['title'] = strip_tags($title . ' - ' . $meta['title']);
        }

        if ($description !== null) {
            $meta['description'] = strip_tags($description);
        }

        Config::getInstance()->add('Eureka\Global\Meta', $meta);

        return $this;
    }
634507
public function setDescription($description)
    {
        if (!empty($description)) {
            Yii::$app->view->registerMetaTag(['name' => 'description', 'content' => $description], 'description');
            Yii::$app->view->registerMetaTag(['name' => 'og:description', 'content' => $description], 'og:description');
        }
        return $this;
    }
1201242
protected function _setDescription()
    {
        if (empty($this->viewVars['description_for_layout'])) {
            $description = option('site_description');
            $this->assign('description', $description);
            $this->set('description_for_layout', $description);
            $this->append('meta', $this->Html->meta('description', $description));
        } else {
            $this->assign('description', $this->viewVars['description_for_layout']);
        }
    }
327831
public function setParam($key = null, $value = null)
    {
        if(is_array($key))
            Arr::set($this->serviceData, 'param', array_merge($this->getService('param'),$key));
        else{
            if (Arr::has($this->serviceData, 'param.' . $key))
                Arr::set($this->serviceData, 'param.' . $key, $value);
        }
        return $this;
    }
82721
public function setDescription($description)
    {
        $stripURLRegex = "/((?<!=\")(http|ftp)+(s)?:\/\/[^<>()\s]+)/i";
        $description = preg_replace($stripURLRegex, '', $description);
        $description = strip_tags($description);
        $description = htmlentities($description);
        $description = str_replace(array('#', '@'), '', $description);
        $description = AnService::get('com:base.template.helper.text')->truncate($description, array('length' => 160));
        $description = trim($description);

        $this->_description = $description;
	}