Feature/user example

Implementing arch changes.

Do not merge yet. Work in progress.
We can definitely have a set / get method on each respective controller if
thats preferable
On Sep 18, 2014 10:41 AM, "Jonathan Johnson" <notifications@github.com>
wrote:

> In sfi/src/Ilios/CoreBundle/Controller/BaseController.php:
>
> > +
> > +/**
> > + * Class BaseController
> > + * @package Ilios\CoreBundle\Controller
> > + * @author Victor Passapera <vpassapera@gmail.com>
> > + */
> > +class BaseController extends FOSRestController
> > +{
> > +    /**
> > +     * @return UserManagerInterface
> > +     */
> > +    public function getUserManager()
> > +    {
> > +        return $this->container->get('ilios_core.manager.user_manager');
> > +    }
> > +}
>
> Why do this here, isn't this going to just have like 50 get*Manager
> methods? Why don't we inject the manger into the controllers instead?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ilios/ilios/pull/694/files#r17742483>.
>