Свойство | Type | Description | |
---|---|---|---|
$doctrineService | |||
$packageManager | Neos\Flow\Package\PackageManagerInterface | ||
$settings | array | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Méthode | Description | |
---|---|---|
compileProxiesCommand ( ) : void | Compile the Doctrine proxy classes | |
createCommand ( string $output = null ) : void | Create the database schema | |
dqlCommand ( integer $depth = 3, string $hydrationMode = 'array', integer $offset = null, integer $limit = null ) : void | Run arbitrary DQL and display results | |
entityStatusCommand ( boolean $dumpMappingData = false, string $entityClassName = null ) : void | Show the current status of entities and mappings | |
injectSettings ( array $settings ) : void | Injects the Flow settings, only the persistence part is kept for further use | |
migrateCommand ( string $version = null, string $output = null, boolean $dryRun = false, boolean $quiet = false ) : void | Migrate the database schema | |
migrationExecuteCommand ( string $version, string $direction = 'up', string $output = null, boolean $dryRun = false ) : void | Execute a single migration | |
migrationGenerateCommand ( boolean $diffAgainstCurrent = true, string $filterExpression = null ) : void | Generate a new migration | |
migrationStatusCommand ( boolean $showMigrations = false, boolean $showDescriptions = false ) : void | Show the current migration status | |
migrationVersionCommand ( string $version, boolean $add = false, boolean $delete = false ) : void | Mark/unmark migrations as migrated | |
updateCommand ( boolean $unsafeMode = false, string $output = null ) : void | Update the database schema | |
validateCommand ( ) : void | Validate the class/table mappings |
Méthode | Description | |
---|---|---|
emitAfterDatabaseMigration ( ) : void | ||
handleException ( Exception $exception ) : void | Output an error message and log the exception. | |
isDatabaseConfigured ( ) |
public compileProxiesCommand ( ) : void | ||
Résultat | void |
public createCommand ( string $output = null ) : void | ||
$output | string | A file to write SQL to, instead of executing it |
Résultat | void |
public dqlCommand ( integer $depth = 3, string $hydrationMode = 'array', integer $offset = null, integer $limit = null ) : void | ||
$depth | integer | How many levels deep the result should be dumped |
$hydrationMode | string | One of: object, array, scalar, single-scalar, simpleobject |
$offset | integer | Offset the result by this number |
$limit | integer | Limit the result to this number |
Résultat | void |
protected emitAfterDatabaseMigration ( ) : void | ||
Résultat | void |
protected handleException ( Exception $exception ) : void | ||
$exception | Exception | |
Résultat | void |
public injectSettings ( array $settings ) : void | ||
$settings | array | |
Résultat | void |
public migrateCommand ( string $version = null, string $output = null, boolean $dryRun = false, boolean $quiet = false ) : void | ||
$version | string | The version to migrate to |
$output | string | A file to write SQL to, instead of executing it |
$dryRun | boolean | Whether to do a dry run or not |
$quiet | boolean | If set, only the executed migration versions will be output, one per line |
Résultat | void |
public migrationExecuteCommand ( string $version, string $direction = 'up', string $output = null, boolean $dryRun = false ) : void | ||
$version | string | The migration to execute |
$direction | string | Whether to execute the migration up (default) or down |
$output | string | A file to write SQL to, instead of executing it |
$dryRun | boolean | Whether to do a dry run or not |
Résultat | void |
public migrationGenerateCommand ( boolean $diffAgainstCurrent = true, string $filterExpression = null ) : void | ||
$diffAgainstCurrent | boolean | Whether to base the migration on the current schema structure |
$filterExpression | string | Only include tables/sequences matching the filter expression regexp |
Résultat | void |
public validateCommand ( ) : void | ||
Résultat | void |
protected Service,Neos\Flow\Persistence\Doctrine $doctrineService | ||
Résultat |
protected PackageManagerInterface,Neos\Flow\Package $packageManager | ||
Résultat | Neos\Flow\Package\PackageManagerInterface |