You are here

public function Tag::setLocation 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::setLocation()

Sets the location of the tag.

Parameters

Location $location The new location of the tag.:

Return value

$this

File

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

Class

Tag
Parses a tag definition for a DocBlock.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function setLocation(Location $location = null) {
  $this->location = $location;
  return $this;
}