why not using annotations here? Or YAML? Rather than PHP.