tinker.php (1504B)
1 <?php 2 3 return [ 4 5 /* 6 |-------------------------------------------------------------------------- 7 | Console Commands 8 |-------------------------------------------------------------------------- 9 | 10 | This option allows you to add additional Artisan commands that should 11 | be available within the Tinker environment. Once the command is in 12 | this array you may execute the command in Tinker using its name. 13 | 14 */ 15 16 'commands' => [ 17 // App\Console\Commands\ExampleCommand::class, 18 ], 19 20 /* 21 |-------------------------------------------------------------------------- 22 | Auto Aliased Classes 23 |-------------------------------------------------------------------------- 24 | 25 | Tinker will not automatically alias classes in your vendor namespaces 26 | but you may explicitly allow a subset of classes to get aliased by 27 | adding the names of each of those classes to the following list. 28 | 29 */ 30 31 'alias' => [ 32 // 33 ], 34 35 /* 36 |-------------------------------------------------------------------------- 37 | Classes That Should Not Be Aliased 38 |-------------------------------------------------------------------------- 39 | 40 | Typically, Tinker automatically aliases classes as you require them in 41 | Tinker. However, you may wish to never alias certain classes, which 42 | you may accomplish by listing the classes in the following array. 43 | 44 */ 45 46 'dont_alias' => [ 47 'App\Nova', 48 ], 49 50 ];