SHARE
TWEET

Untitled

a guest Jun 26th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \begin{lstlisting}[caption={Exemplo de um mapeamento de um método de um \textit{Controller} a uma \textit{URL}}, label={code:EM_Dependency},language=PHP]
  2. $proposalService = new ProposalService($em);
  3.  
  4. // Create new Proposal
  5. $proposal = $proposalService->createProposalFromForm($user, $institution, $formdata, $request);
  6.  
  7. // Generate & Set Custom Id
  8. $customIdService = new CustomIdentifierService();
  9. $proposal = $customIdService->setCustomIdentifier($proposal, $em);
  10. \end{lstlisting}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top