[Flow] Re: Login show Username

Patric Eckhart mail at patriceckhart.com
Thu Jan 8 20:22:49 CET 2015


Thank you.

This works for me:
$classname = '\MyPackage\Site\Domain\Model\Login';
			$query = $this->persistenceManager->createQueryForType($classname);

			$login = $query->matching($query->equals('email', $email))->execute()->getFirst();

			$name = $login->getName();
			$this->view->assign('username', $name);


More information about the Flow mailing list