Sunday, April 9, 2017

How do I get a name of an attribute in the request in string format

How do I get a name of an attribute in the request, I need to automatically get the name in the string format. for example:

$request->some_attribute

is there a php way to extract this attribute name to a string?



via maxit

Advertisement