views:

10

answers:

1

I have a doctrine model that has a method getSomethingId()

and I'm making something of an automated form generator for internal use in the company

how can I check if my model has this method?

I've tried with php's method_exists but it returns false for every method, what can I do? thanks

+1  A: 

I'd try is_callable()

m1tk4
thanks for the recommendation I'll try it and vote tomorrow from work
JaSk
It worked, thanks
JaSk