1 | <?php |
||
22 | final class ClassString implements Type |
||
23 | { |
||
24 | /** @var Fqsen|null */ |
||
25 | private $fqsen; |
||
26 | |||
27 | /** |
||
28 | * Initializes this representation of a class string with the given Fqsen. |
||
29 | */ |
||
30 | public function __construct(?Fqsen $fqsen = null) |
||
34 | |||
35 | /** |
||
36 | * Returns the FQSEN associated with this object. |
||
37 | */ |
||
38 | public function getFqsen() : ?Fqsen |
||
42 | |||
43 | /** |
||
44 | * Returns a rendered output of the Type as it would be used in a DocBlock. |
||
45 | */ |
||
46 | public function __toString() : string |
||
54 | } |
||
55 |