Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 870 Bytes

README.md

File metadata and controls

48 lines (34 loc) · 870 Bytes

Phannotation

Build Status

An annotation library for PHP. For an example how to use the library look at the phpunit-test PhannotationTest.php. I started this little project on April, 5th. Don't expect too much of it, yet! :)

Features

Class Annotations

not implemented yet

Method Annotations

Phannotation currently supports four kinds of annotations:

  • Annotations without value:
/**
 * @without
 */
  • Simple value annotations:
/**
 * @simple("someValue")
 */
  • Array annotations:
/**
 * @array(["value1", "value2"])
 */
  • Complex annotations:
/**
 * @complex({"key1":"value1","key2":"value2"})
 */