doctrine / skeleton-mapper

Doctrine Skeleton Object Mapper

Home Page:http://www.doctrine-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class level metadata

spaulg opened this issue · comments

I'm trying to create a new ODM implementation for a KV store.

I'm currently working on a data repository. I see in the metadata class its possible to get data relating to class properties. How can I get metadata relating to the class as a whole?

So in this example:

@Document(foo="bar")
class User 
{
}

...mapping logic which is a whole different area aside, I want to get foo. Is there an API for this on the metadata class, or is that too high level, and I need to use the reflection class in the metadata directly?