hassankhan / config

Config is a lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files
MIT License
971 stars 136 forks source link

filtering? #84

Closed aolko closed 8 years ago

aolko commented 8 years ago

how to get an item, for example, where key = 1

{
  "items":[
    {
      "key":"0",
    },
    {
      "key":"1"
    }
  ]
}
hassankhan commented 8 years ago

Sorry, can you explain with some more context? Not quite sure what you're asking

aolko commented 8 years ago

select all the config items where key = 1

hassankhan commented 8 years ago

Ahh okay, that is outside the scope of the project currently, I'm not aware of any plans to add it and personally don't think it is necessary. I'm open to changing my mind if @DavidePastore or any other contributors see value in adding it, though.

DavidePastore commented 8 years ago

@hassankhan I agree with you, this seems unrelated to the project.

hassankhan commented 8 years ago

Cool, thanks for your input @DavidePastore, sorry @aolko, it's just not something we see as useful for this project.