Skip to content
Permalink
Branch: master
Commits on Jan 14, 2020
  1. feature #35322 [Workflow] Added a way to not fire the announce event …

    lyrixx committed Jan 14, 2020
    …(lyrixx)
    
    This PR was merged into the 5.1-dev branch.
    
    Discussion
    ----------
    
    [Workflow] Added a way to not fire the announce event
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | yes
    | Deprecations? | no
    | Tickets       | Fix #35286
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    d31939d [Workflow] Added a way to not fire the annonce event
Commits on Jan 13, 2020
  1. [Workflow] Added a way to not fire the annonce event

    lyrixx committed Jan 13, 2020
  2. [Workflow] Make many internal services as hidden

    lyrixx committed Jan 13, 2020
Commits on Jan 8, 2020
  1. [Console] Add SingleCommandApplication to ease creation of Single Com…

    lyrixx committed Dec 4, 2019
    …mand Application
    
    ```
    <?php
    
    require __DIR__.'/vendor/autoload.php';
    
    use Symfony\Component\Console\Input\InputArgument;
    use Symfony\Component\Console\Input\InputInterface;
    use Symfony\Component\Console\Output\OutputInterface;
    use Symfony\Component\Console\SingleCommandApplication;
    
    (new SingleCommandApplication())
        ->setName('My Super Command') // Optional
        ->setVersion('1.0.0') // Optional
        ->setProcessTitle('my_proc_title') // Optional
        ->addArgument('who', InputArgument::OPTIONAL, 'Who', 'World')  // Optional
        ->setCode(function(InputInterface $input, OutputInterface $output): int {
            $output->writeln(sprintf('Hello %s!', $input->getArgument('who')));
    
            return 0;
        })
        ->run()
    ;
    
    ```
You can’t perform that action at this time.