Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 17, 2024 via composer

barryvdh/reflection-docblock v2.1.1

Package summary
Share
0
issues
1
license
1
MIT
Package created
8 Jun 2013
Version published
14 Jun 2023
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
barryvdh/reflection-docblock@v2.1.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of barryvdh/reflection-docblock 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does barryvdh/reflection-docblock do?

The barryvdh/reflection-docblock is a PHP component that provides a DocBlock parser. It is 100% compatible with the PHPDoc standard. Primarily, this package is designed to facilitate libraries with the ability to offer support for annotations via DocBlocks or to extract information that has been embedded within a DocBlock. It is noteworthy that this is a core component of phpDocumentor and is regularly optimized for performance to ensure enhanced user experience.

How do you use barryvdh/reflection-docblock?

The utilization of the barryvdh/reflection-docblock component is seamless and works in the same manner as PHP's own Reflection extension. To use it, you need to instantiate the \phpDocumentor\Reflection\DocBlock() class, passing it a string containing a DocBlock (including asterisks) or by passing an object that has the getDocComment() method.

Here are the code usage examples:

    $class = new ReflectionClass('MyClass');
    $phpdoc = new \phpDocumentor\Reflection\DocBlock($class);

or

    $docblock = <<<DOCBLOCK
    /**
     * This is a short description.
     *
     * This is a *long* description.
     *
     * @return void
     */
    DOCBLOCK;

    $phpdoc = new \phpDocumentor\Reflection\DocBlock($docblock);

Where are the barryvdh/reflection-docblock docs?

For more extensive information and guidelines on this package, you can go through the official Github repository or visit the PHPDoc standard website. These documentation sources extensively encapsulate the complete details of the barryvdh/reflection-docblock component.