Robo\Task\Development\GenerateMarkdownDoc::documentPropertySignature PHP Method

documentPropertySignature() protected method

protected documentPropertySignature ( ReflectionProperty $reflectedProperty ) : string
$reflectedProperty ReflectionProperty
return string
    protected function documentPropertySignature(\ReflectionProperty $reflectedProperty)
    {
        if ($this->processPropertySignature === false) {
            return "";
        }
        $modifiers = implode(' ', \Reflection::getModifierNames($reflectedProperty->getModifiers()));
        $signature = "#### *{$modifiers}* {$reflectedProperty->name}";
        if (is_callable($this->processPropertySignature)) {
            $signature = call_user_func($this->processPropertySignature, $reflectedProperty, $signature);
        }
        return $signature;
    }