| 1 |
<?php |
| 2 |
|
| 3 |
namespace WPDeveloper\BetterDocs\Dependencies\PhpParser\Node\Name; |
| 4 |
|
| 5 |
class Relative extends \WPDeveloper\BetterDocs\Dependencies\PhpParser\Node\Name |
| 6 |
{ |
| 7 |
/** |
| 8 |
* Checks whether the name is unqualified. (E.g. Name) |
| 9 |
* |
| 10 |
* @return bool Whether the name is unqualified |
| 11 |
*/ |
| 12 |
public function isUnqualified() { |
| 13 |
return false; |
| 14 |
} |
| 15 |
|
| 16 |
/** |
| 17 |
* Checks whether the name is qualified. (E.g. Name\Name) |
| 18 |
* |
| 19 |
* @return bool Whether the name is qualified |
| 20 |
*/ |
| 21 |
public function isQualified() { |
| 22 |
return false; |
| 23 |
} |
| 24 |
|
| 25 |
/** |
| 26 |
* Checks whether the name is fully qualified. (E.g. \Name) |
| 27 |
* |
| 28 |
* @return bool Whether the name is fully qualified |
| 29 |
*/ |
| 30 |
public function isFullyQualified() { |
| 31 |
return false; |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name) |
| 36 |
* |
| 37 |
* @return bool Whether the name is relative |
| 38 |
*/ |
| 39 |
public function isRelative() { |
| 40 |
return true; |
| 41 |
} |
| 42 |
} |