create($docComment); // Should contain the first line of the DocBlock $summary = $docblock->getSummary(); // Contains an object of type Description; you can either cast it to string or use // the render method to get a string representation of the Description. // // In subsequent examples we will be fiddling a bit more with the Description. $description = $docblock->getDescription();