gossi\codegen\generator\ModelGenerator::getWriter PHP Méthode

getWriter() public méthode

public getWriter ( ) : Writer
Résultat gossi\codegen\generator\utils\Writer
    public function getWriter()
    {
        return $this->writer;
    }

Usage Example

 public function __construct(ModelGenerator $generator)
 {
     $this->generator = $generator;
     $this->writer = $generator->getWriter();
     $this->config = $generator->getConfig();
 }