Property | Type | Description | |
---|---|---|---|
$indent_spaces | integer | ||
$inline_level | integer | ||
$main_buffer | array | ||
$output_fn | string | ||
$sub_buffers | array |
Method | Description | |
---|---|---|
__construct ( string $output = null ) | ||
compileMetadataForEntity ( object $entity, string | null $resource = null ) : void | Write metadata for a given entity, using the input EntityManager that must be preset | |
flush ( ) : void | Compile and write all processed metadata | |
getIndentSpaces ( ) : integer | Get the number of spaces for YAML indenting | |
getInlineLevel ( ) : integer | Get the YAML indent level in which formatting is switched to inline | |
purge ( ) : void | Purge the current buffer of unwritten content | |
setIndentSpaces ( integer $indent_spaces ) | Set the number of spaces for YAML indenting | |
setInlineLevel ( integer $inline_level ) | Set the YAML indent level in which formatting is switched to inline |
Method | Description | |
---|---|---|
compileColumns ( |
Compiles all columns for an entity | |
compileConditions ( array $conditions ) : array | Compile conditions into an array | |
compileSortIndices ( |
Compile all sortable table indices | |
compileSortables ( array $sortables ) : array | Compile sortables into an array | |
compileStdIndices ( |
Compile normal indices | |
writeYaml ( string $fn, array $data ) | Write YAML data to a file, overwriting its contents |
public __construct ( string $output = null ) | ||
$output | string | Primary output file |
public getIndentSpaces ( ) : integer | ||
return | integer |
public getInlineLevel ( ) : integer | ||
return | integer |
public setIndentSpaces ( integer $indent_spaces ) | ||
$indent_spaces | integer |
public setInlineLevel ( integer $inline_level ) | ||
$inline_level | integer |