Overview

Namespaces

  • PommProject
    • Cli
      • Command
      • Exception
    • Foundation
      • Client
      • Converter
        • Geometry
        • Type
      • Exception
      • Inspector
      • Listener
      • Observer
      • PreparedQuery
      • QueryManager
      • Session
      • Tester
    • ModelManager
      • Converter
      • Exception
      • Generator
      • Model
        • FlexibleEntity
        • ModelTrait
      • ModelLayer
      • Tester

Classes

  • BaseGenerator
  • EntityGenerator
  • ModelGenerator
  • StructureGenerator
  • Overview
  • Namespace
  • Class

Class EntityGenerator

EntityGenerator

Entity generator.

PommProject\ModelManager\Generator\BaseGenerator
Extended by PommProject\ModelManager\Generator\EntityGenerator
Namespace: PommProject\ModelManager\Generator
Package: ModelManager
Copyright: 2014 - 2015 Grégoire HUBERT
Author: Grégoire HUBERT
License: {@link http://opensource.org/licenses/mit-license.php}
See: PommProject\ModelManager\Generator\BaseGenerator
Located at Generator/EntityGenerator.php
Methods summary
public array
# generate( PommProject\Foundation\ParameterHolder $input, array $output = [] )

generate

generate

Generate Entity file.

Parameters

$input
$output

Returns

array
$output

Throws

GeneratorException

See

PommProject\ModelManager\Generator\BaseGenerator
protected string
# getCodeTemplate( )

getCodeTemplate

getCodeTemplate

Returns

string

See

PommProject\ModelManager\Generator\BaseGenerator
Methods inherited from PommProject\ModelManager\Generator\BaseGenerator
__construct(), checkOverwrite(), getInspector(), getSession(), mergeTemplate(), outputFileCreation(), saveFile(), setSession()
Properties inherited from PommProject\ModelManager\Generator\BaseGenerator
$filename, $flexible_container, $namespace, $relation, $schema
API documentation generated by ApiGen