PHP Classes
elePHPant
Icontem

File: tests/-app-/config/console.php

Recommend this page to a friend!
  Classes of Wolfy-J  >  spiral  >  tests/-app-/config/console.php  >  Download  
File: tests/-app-/config/console.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: spiral
Modular Web application development framework
Author: By
Last change:
Date: 1 year ago
Size: 1,188 bytes
 

Contents

Class file image Download
<?php
/**
 * Configuration used by spiral console toolkit to declare set of configuration and update commands.
 * Attention, configs might include runtime code which depended on environment values only.
 *
 * @see ConsoleConfig
 */
return [
   
/*
     * When set to true console will try to locate commands automatically using Tokenizer.
     */
   
'locateCommands' => true,

   
/*
     * Manually registered set of commands. Use this section when locateCommands is off.
     */
   
'commands' => [],

   
/*
     * This set of commands will be executed when command "configure" run. You can declare command
     * options, header and footer.
     */
   
'configureSequence' => [
       
'views:compile' => ['options' => []],
       
/*{{sequence.configure}}*/
   
],

   
/*
     * Set of commands executed inside "update" command. If you want to use any external migration
     * tool like https://phinx.org/ - you can add it's command right here and combine it with orm
     * models with passive schemas.
     */
   
'updateSequence' => [
       
'odm:schema' => ['options' => []],
       
'orm:schema' => ['options' => []],
       
/*{{sequence.update}}*/
   
]
];