How can I treat annotations? php
===

I use custom MVC framework. I want to use annotations above action to display title in view like:

    class controller {
        /**
        * @title = some title
        */
        public function action(){
        }
    }

To do this I use `ReflectionMethod::getDocComment` and then parse comment using simple Regex, make `title` as global variable and use it in my view. Of course, this is a solution but really bad one because in future I may need to use annotations not just for defining titles (for example, to define rules in models. Like Symphony does).

My problem is that I have no idea where to save metadata.