This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerMethod'] = 'numberBetween'; | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerParameter'] = [1, 3]; | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerUnique'] = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerMethod'] = 'firstName'; | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerOptional'] = [0.6, '']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerMethod'] = 'numberBetween'; | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['id']['eval']['fakerParameter'] = [1, 9999]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $GLOBALS['TL_DCA']['tl_member']['fields']['firstname']['eval']['fakerMethod'] = 'firstName'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| demo.command.testoutput: | |
| class: Esit\Demo\Classes\Command\TestOutputCommand | |
| arguments: ["@contao.framework"] | |
| tags: ["console.command"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php declare(strict_types=1); | |
| namespace Esit\Demo\Classes\Command; | |
| use Contao\CoreBundle\Framework\ContaoFramework; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| use Symfony\Component\Console\Style\SymfonyStyle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $arrOptions = [ | |
| ['value'=>'group01', 'label'=>'Gruppe 01', 'group'=>1], | |
| ['value'=>'item01-01', 'label'=>'Eintrag 01-01'], | |
| ['value'=>'item01-02', 'label'=>'Eintrag 01-02'], | |
| ['value'=>'group02', 'label'=>'Gruppe 02', 'group'=>1], | |
| ['value'=>'item02-01', 'label'=>'Eintrag 02-01'], | |
| ['value'=>'item02-02', 'label'=>'Eintrag 02-02'], | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class MyDemoClassTest extends ContaoTestCase | |
| { | |
| public function testMyDemoMethode(): void | |
| { | |
| $eventDispatcher = $this->createMock(EventDispatcherInterface::class); | |
| $eventDispatcher | |
| ->expects($this->once()) | |
| ->method('dispatch') | |
| ->with( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Services | |
| services: | |
| esit_testtoolbox.services.wrapper.haste_form: | |
| class: Haste\Form\Form | |
| arguments: ['ESITTESTTOOLBOXFORM', 'POST', Esit\Testtoolbox\Classes\Services\Helper\FormHelper::checkSubmit] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| php -r echo hash_file('sha512', 'composer.json'); |