Set permission.
@param string $name
@param string $description
@return Item
181310
public function setPermission($name, $description = null)
    {
        $permission = $this->getPermission($name) ?: $this->createPermission($name);
        if ($description) {
            $permission->description = $description;
        }
        $this->add($permission);

        return $permission;
    }
109780
public function identity($title, $description)
    {
        $this->title($title);
        $this->meta('description', $description);
        return $this;
    }
959387
public function addModule($name, array $description)
    {
        if (!isset($this->descriptor['modules'])) {
            $this->descriptor['modules'] = [];
        }
        $this->descriptor['modules'][$name] = $description;

        return $this;
    }
701481
public function invalidValue($name, $description)
	{
		$this->invalidData[$name] = true;
		$this->addMessage($name, $description);
	}
883469
public function setCommandData($name, $description = '', $help = '')
    {
        $this->commandName = $name;
        $this->commandDescription = $description;
        $this->commandHelp = $help;
    }
1366349
public function create(Description $description)
    {
        return new Tip(
            new Identifier($description->getMandatoryProperty('id')),
            $description->getMandatoryProperty('text'),
            $description->getMandatoryProperty('type'),
            $description->getMandatoryProperty('agreeCount'),
            $description->getMandatoryProperty('disagreeCount')
        );
    }
1313404
public function withOption($name, $description, $default = '', array $choices = [])
    {
        $this->choices[$name] = $choices;

        return $this->addOption($name, null, InputOption::VALUE_OPTIONAL, $description, $default);
    }
951233
private function setDescription($description = null)
    {
        if (isset($description) && ! is_string($description)) {
            throw new InvalidArgumentException("Description must be a string. [$description] given.");
        }

        $this->description = $description;
    }
1197150
public function setDescription($description)
    {
        if ($description !== null && strcmp($description, "") !== 0) {
            $this->description = (string) $description;
        } else {
            $this->description = null;
        }
    }
274473
public function setDescription($description)
    {
        $this->description = $description;
        if($this->metaDescription == '') $this->metaDescription = strip_tags(substr ($this->description, 0, 200));

        return $this;
    }
162658
public function setDescription($description)
    {
        $this->description = (empty((string) $description) ? false : (string) $description);
    }
548512
public function optionModeNoValue($name, $description)
    {
        $shortcut = null;
        $mode = InputOption::VALUE_NONE;
        return [$name, $shortcut, $mode, $description, $defaultValue = null];
    }
1118636
public function set($name, $value = null)
    {
        if ($name === 'value') {
            $value = htmlspecialchars($value);
        }
        parent::set($name, $value);

        return $this;
    }
95830
public function setArguments($name, $required = false, $description = 'Argument description')
    {
        $required ? $required = InputArgument::REQUIRED : $required = InputArgument::OPTIONAL;
        $this->addArgument($name, $required, $description);
    }
679716
public function set($name, $definition) {
        $this->services[$name] = new Service($name, $definition);
        return $definition;
    }
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;
    }
797837
public function setEscrow($description)
    {
        $this->data->escrow = new stdClass();
        $this->data->escrow->description = $description;

        return $this;
    }