You are here

public function Tag::setContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php \phpDocumentor\Reflection\DocBlock\Tag::setContent()

Sets the content of this tag.

Parameters

string $content The new content of this tag.:

Return value

$this

9 calls to Tag::setContent()
AuthorTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php
Sets the content of this tag.
ExampleTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ExampleTag.php
Sets the content of this tag.
LinkTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/LinkTag.php
Sets the content of this tag.
MethodTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/MethodTag.php
Sets the content of this tag.
ParamTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ParamTag.php
Sets the content of this tag.

... See full list

6 methods override Tag::setContent()
AuthorTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php
Sets the content of this tag.
LinkTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/LinkTag.php
Sets the content of this tag.
ReturnTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/ReturnTag.php
Sets the content of this tag.
SeeTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/SeeTag.php
Sets the content of this tag.
SourceTag::setContent in vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag/SourceTag.php
Sets the content of this tag.

... See full list

File

vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Tag.php, line 257

Class

Tag
Parses a tag definition for a DocBlock.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function setContent($content) {
  $this
    ->setDescription($content);
  $this->content = $content;
  return $this;
}