/** * @param Application $app */ public function __construct(Application $app) { $this->app = $app; $this->em = $this->app->entityManager(); $this->clients = array(); }