Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Seems like it's not possible to import namespaces via Nette\PhpGenerator\PhpFile for example:
use My\Full\Classname as Another, My\Full\NSname;
$obj = new Another; // instantiates object of class My\Full\Classname
NSname\subns\func(); // calls function My\Full\NSname\subns\func
Currently it's only possible via PhpNamespace class
The text was updated successfully, but these errors were encountered:
Jep seems like.
+1 for that
Sorry, something went wrong.
Can't use just use PhpNamespace with empty namespace?
can you give an example? @JanTvrdik
No branches or pull requests