Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \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]
- $proposalService = new ProposalService($em);
- // Create new Proposal
- $proposal = $proposalService->createProposalFromForm($user, $institution, $formdata, $request);
- // Generate & Set Custom Id
- $customIdService = new CustomIdentifierService();
- $proposal = $customIdService->setCustomIdentifier($proposal, $em);
- \end{lstlisting}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement