Annotations

Overview

Annotations are simple and straight forward. NomadPhp uses reflection to read the annotation; however, only when necessary. This provides the flexibility of annotations without the overhead of reflecting every class. Annotations in NomadPhp are all prefixed `@Nomad\` followed by the annotation; e.g. Layout, Acl, or Type, etc. There are over 20 predefined annotations ranging from property types to event dispatching to dependency injection.


Work in progress.