chrisguitarguy/annotation

A little annotation library

1.0.0 2014-05-29 03:08 UTC

This package is auto-updated.

Last update: 2024-11-23 06:48:36 UTC


README

Build Status

A little PHP library for parsing PHP docblock "annotations"

Example:

<?php
/**
 * This is a docblock.
 *
 * @ThisIsAnAnnotation(argument=2)
 */
 class AClass
 {
    // ...
 }

Goals


* Self-contained
* No nested annotation parsing
* Annotations that are not "registered" are ignored