Is it possible to create a method dynamically? For example: I have a method called "createMethod()". I would like to pass variables to this method describing how the dynamic method would look like (function description, params as an array or object). I have been trying to make something like that, bet I've got stuck at describing params and got mixed up with eval() function, that I used to form some variables.
Could someone give me a simple example how this dynamic method would look like? Maby there are something helpful already created in Zend or CodeIgniter frameworks?
Thanks!