doctrine / KeyValueStore

Abstraction for Key-Value to Plain Old PHP Object mapping
http://www.doctrine-project.org
MIT License
200 stars 59 forks source link

Yaml driver #35

Closed EmanueleMinotto closed 9 years ago

EmanueleMinotto commented 9 years ago

Should be a solution (a first draft at least) for #13

# Doctrine.Tests.KeyValueStore.Functional.Post.dcm.yml
Doctrine\Tests\KeyValueStore\Functional\Post:
  storageName: post
  id:
    - id
  transient:
    - foo
    - bar

The identifier can also be a string. A single attribute as identifier should be a common thing, I guess.