You are here

public function MethodTag::setMethodName in Zircon Profile 8.0

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

Sets the name of this method.

Parameters

string $method_name The name of the method.:

Return value

$this

File

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

Class

MethodTag
Reflection class for a @method in a Docblock.

Namespace

phpDocumentor\Reflection\DocBlock\Tag

Code

public function setMethodName($method_name) {
  $this->method_name = $method_name;
  $this->content = null;
  return $this;
}