Also where can I put my classes? Like if I create some php classes and
interfaces, in which folder should I place them in Symfony directory
structure?

Thanks and Regards
Vikram

On Feb 17, 9:43 am, SeeVik <vikramvmalhotra1...@gmail.com> wrote:
> hello all,
>
> I have a code snippet in php that I want to be accessible to all the
> modules in my application. I want to ask in which layer should I put
> this code?
>
> This code does not contain any database handling, so it shouldn't be
> in model layer.
> There is no html, so it shouldn't be there in view layer either.
>
> This function can be considered to be, let us suppose a binary-to-
> decimal converter. It just takes some binary value and returns some
> decimal number. Where should I put this code?
>
> Thanks and Regards
> Vikram
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to