We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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? Sign in to your account
The following code leads to the fully qualified interface name used in the class being converted into a relative name.
// TestClass.php ----------------------------------------- <?php namespace Test; class TestClass implements \Test\TestInterface { } // TestInterface.php ----------------------------------------- <?php namespace Test; interface TestInterface { } // Run.php ----------------------------------------- <?php require_once '../vendor/autoload.php'; use gossi\codegen\generator\CodeGenerator; use gossi\codegen\model\PhpClass; $class = PhpClass::fromFile('TestClass.php'); $generator = new CodeGenerator(); $code = $generator->generate($class); echo $code; // Output ----------------------------------------- namespace Test; /** */ class TestClass implements Test\TestInterface { }
If you need any further info please let me know.
Cheers
The text was updated successfully, but these errors were encountered:
5a561df
thanks, got this fixed :)
Sorry, something went wrong.
No branches or pull requests
The following code leads to the fully qualified interface name used in the class being converted into a relative name.
If you need any further info please let me know.
Cheers
The text was updated successfully, but these errors were encountered: