PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Classes of Wolfy-J  >  spiral  >  tests/-app-/config/tokenizer.php  >  Download  
File: tests/-app-/config/tokenizer.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: 912 bytes
 

Contents

Class file image Download
<?php
/**
 * Tokenizer and Class locator component configurations. Attention, configs might include runtime
 * code which depended on environment values only.
 *
 * @see TokenizerConfig
 */
return [
   
/*
     * Tokenizer will be performing class and invocation lookup in a following directories. Less
     * directories - faster Tokenizer will work.
     */
   
'directories' => [
       
directory('application'),

       
//Default set of spiral console commands
       
directory('framework') . 'Spiral/Commands/',

       
//Needed to allow Translator locate i18n validation messages
       
directory('framework') . 'Spiral/Validation/'

       
/*{{directories}}*/
   
],
   
/*
     * Such paths are excluded from tokenization. You can use format compatible with Symfony Finder.
     */
   
'exclude' => [
       
'config',
       
'resources',
       
'migrations',
       
/*{{exclude}}*/
   
]
];