Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Property without default value #28

Open
wwwgo-pl opened this issue Dec 19, 2015 · 1 comment
Open

Property without default value #28

wwwgo-pl opened this issue Dec 19, 2015 · 1 comment

Comments

@wwwgo-pl
Copy link

Is it possible to generate property without default value?

$x = new ClassGenerator;
        $x->setName('Classa');
        $x->addProperty('test');

Should output:

class Classa {
public $test;
}

Maybe there should be new type

TYPE_OMIT
@michalbundyra
Copy link
Member

This repository has been closed and moved to laminas/laminas-code; a new issue has been opened at laminas/laminas-code#34.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants