Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Specifically, Class created from reflection can't be added to PhpFile. Generally, you should be able to add leafs beyond mere string creations.
Steps To Reproduce
I.E FPhpFile->add(new ClassType), ClassType->add(new Method)