Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

scaleupstack/annotations

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScaleUpStack/Annotations

About

This library allows to read annotations in the classical DocBlock style including an extended multi-line declaration.

The built-in set of supported annotations can be extended easily by project-specific extensions.

Installation

Use Composer to install this library:

$ composer require scaleupstack/annotations

Introduction

This library is not yet documented. But perhaps scaleupstack/metadata can be helpful to find out how to use it.

TODO: to be done

Current State

This library has been developed with a special intention in mind. It will evolve in the context of scaleupstack/metadata, and scaleupstack/easy-object.

This results in some known limitations that are no high-priority for this intended purpose.

  • E.g. not all allowed class names in @var are supported (e.g. UTF-8 special chars).

  • Only a sub-set of phpDocumentor annotation tags are built-in.

  • Some limitations are perhaps very strict.

If you are missing anything, feel free to contact me, or create a pull request.

Currently these built-in annotations are implemented:

  • @method

  • @property-read

  • @var

All other annotations are represented as UnknownAnnotation.

Contribute

Thanks that you want to contribute to ScaleUpStack/Annotations.

License

Please check LICENSE.md in the root dir of this package.

Copyright

ScaleUpVentures Gmbh, Germany
Thomas Nunninger thomas.nunninger@scaleupventures.com
www.scaleupventures.com

About

Annotations parser for classical DocBlock-style annotations and an extended multi-line declaration

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.