We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 495d60e commit 4a5e7e0Copy full SHA for 4a5e7e0
src/Builder/ClassBuilder.php
@@ -434,6 +434,16 @@ public function getNamespace(): ?string
434
return $this->namespace;
435
}
436
437
+ /**
438
+ * Returns fully qualified class name without leading backslash
439
+ *
440
+ * @return string
441
+ */
442
+ public function getFqcn(): string
443
+ {
444
+ return \trim($this->namespace . '\\' . $this->name, '\\');
445
+ }
446
+
447
public function setName(?string $name): self
448
{
449
$this->name = $name;
0 commit comments