프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | array | ||
$tableData |
메소드 | 설명 | |
---|---|---|
__construct ( array $config = [], array $tableData = [] ) | ||
build ( string $className, string $moduleName ) | Build the class |
메소드 | 설명 | |
---|---|---|
addClassDocBlock ( string $className, string $moduleName ) | Add a class doc block | |
fetchPrimaryColumns ( ) : array | ||
fetchTableColumns ( ) : array | ||
generateGetMethod ( $columnName, $columnType ) : |
||
generateIdentifierMethod ( array $primaryColumns, array $tableColumns ) : |
||
generateMagicToStringMethod ( array $primaryColumns, array $tableColumns ) : |
||
generateNormalToStringMethod ( ) : |
||
generateProperty ( $columnName, $columnType ) : Zend\Code\Generator\PropertyGenerator | ||
generateSetMethod ( $columnName, $columnType ) : |
public __construct ( array $config = [], array $tableData = [] ) | ||
$config | array | |
$tableData | array |
protected addClassDocBlock ( string $className, string $moduleName ) | ||
$className | string | |
$moduleName | string |
protected generateGetMethod ( $columnName, $columnType ) : |
||
$columnName | ||
$columnType | ||
리턴 |
protected generateIdentifierMethod ( array $primaryColumns, array $tableColumns ) : |
||
$primaryColumns | array | |
$tableColumns | array | |
리턴 |
protected generateMagicToStringMethod ( array $primaryColumns, array $tableColumns ) : |
||
$primaryColumns | array | |
$tableColumns | array | |
리턴 |
protected generateNormalToStringMethod ( ) : |
||
리턴 |
protected generateProperty ( $columnName, $columnType ) : Zend\Code\Generator\PropertyGenerator | ||
$columnName | ||
$columnType | ||
리턴 | Zend\Code\Generator\PropertyGenerator |
protected generateSetMethod ( $columnName, $columnType ) : |
||
$columnName | ||
$columnType | ||
리턴 |