PHP TypeLang Help

@copyright

The @copyright tag records who holds the copyright to an element, and typically the year or range of years it covers. It is most often placed on a file-level docblock or on the class that anchors a file, so that generated documentation and license-checking tools can surface ownership information without having to parse a separate license header.

"@copyright" [ <Description> ]

Parsing a @copyright tag produces a CopyrightTag instance. Being a pure marker, it adds nothing beyond the $name and optional $description every Tag already carries — the holder and year are read back out of the free-form description text.

final class CopyrightTag extends FlagTag {}

Defined by the PSR-19 draft PHPDoc Tags proposal and phpDocumentor's tag reference.

05 July 2026