I have php class and php function that are used together , since im making few of the edits to same files on and off I have to rename my class and function based on the file I am working on so , the code is like this
class myclassName{
function myfunctionName{
}
}
and later used as
$myvariable = myclassName::myfunctionname($getwhatineed);
so I would like to do this
$default_cf_name ="DesiredName";
class prefix_$default_cf_name{
function prefix_$default_cf_name{
}
}