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