Zephir\ClassMethod::getDocBlock PHP Method

getDocBlock() public method

Returns the raw docblock
public getDocBlock ( ) : string
return string
    public function getDocBlock()
    {
        return $this->docblock;
    }

Usage Example

Esempio n. 1
0
 public function __construct(ClassMethod $method, AliasManager $aliasManager, $indent = '    ')
 {
     parent::__construct($method->getDocBlock(), $indent);
     $this->deprecated = $method->isDeprecated();
     $this->aliasManager = $aliasManager;
     $this->shortcutName = $method->isShortcut() ? $method->getShortcutName() : '';
     $this->parseMethodParameters($method);
     $this->parseLines();
     $this->parseMethodReturnType($method);
     $this->appendParametersLines();
     if (!empty($this->return)) {
         $this->appendReturnLine();
     }
 }
All Usage Examples Of Zephir\ClassMethod::getDocBlock