public function TokenParser::parseClass in Plug 7
Gets the class name.
Return value
string The found class name.
File
- lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ TokenParser.php, line 180
Class
- TokenParser
- Parses a file for namespaces/use/class declarations.
Namespace
Doctrine\Common\AnnotationsCode
public function parseClass() {
// Namespaces and class names are tokenized the same: T_STRINGs
// separated by T_NS_SEPARATOR so we can use one function to provide
// both.
return $this
->parseNamespace();
}