function Name::isUnqualified
Checks whether the name is unqualified. (E.g. Name)
Return value
bool Whether the name is unqualified
2 methods override Name::isUnqualified()
- FullyQualified::isUnqualified in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Name/ FullyQualified.php - Checks whether the name is unqualified. (E.g. Name)
- Relative::isUnqualified in vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Name/ Relative.php - Checks whether the name is unqualified. (E.g. Name)
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Name.php, line 75
Class
Namespace
PhpParser\NodeCode
public function isUnqualified() : bool {
return false === \strpos($this->name, '\\');
}