__construct(array $map)
If provided, will pass $map to setMap().
null
array
get(object | string $class) : \PhlyRestfully\Metadata
object
string
Object or classname for which to retrieve metadata
has(object | string $class) : bool
object
string
Object or class name to test
bool
setMap(array $map) : \PhlyRestfully\MetadataMap
Accepts an array of class => metadata definitions. Each definition may be an instance of Metadata, or an array of options used to define a Metadata instance.
fluent | This method is part of a fluent interface and will return the same instance |
---|
array