Skip to content

About

Symfony class chain generator example

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

class-chain-generator

Symfony class chain generator example

With console command:

symfony console cache:clear

rebuild class of chain of resposibility in directory: Entity/Classes/StatusDTO/Compiled and after all can use chain classes like this:

            (new StatusFactory())
                ->makeStatusPendingDTO()
                ->setStatusText('Status text')
                ->setIntParam(123)
                ->setDateParam(new \DateTime())
                ->setStringParam('Details information')
                ->finalize()
                ->apply();

About

Symfony class chain generator example

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages