Good idea !

Envoyé de mon iPhone

Le 16 janv. 2013 à 01:48, Marco Pivetta <notifications@github.com> a écrit :

> In src/ZfrRest/Options/SerializerOptions.php:
> 
> > +     * @var array
> > +     */
> > +    protected $normalizers;
> > +
> > +
> > +    /**
> > +     * Set the list of available encoders
> > +     *
> > +     * @param  array $encoders
> > +     * @throws Exception\InvalidArgumentException
> > +     * @return SerializerOptions
> > +     */
> > +    public function setEncoders(array $encoders)
> > +    {
> > +        foreach ($encoders as $type => $encoder) {
> > +            if (is_string($encoder) && class_exists($encoder)) {
> Let's use locators or plugin managers for this stuff :)
> 
> —
> Reply to this email directly or view it on GitHub.
>