Skip to content
Snippets Groups Projects
Select Git revision
  • cfb99f4d9e11ff6fd1ee2dec53e8c4a428ff4be3
  • master default protected
  • release_3.0.0
  • test
  • feature_pre_sql
  • develop
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
26 results

development.config.php.dist

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    UpdateBddCommandFactory.php 691 B
    <?php
    
    namespace Unicaen\BddAdmin\Command;
    
    use Psr\Container\ContainerInterface;
    use Unicaen\BddAdmin\Bdd;
    
    
    /**
     * Description of UpdateBddCommandFactory
     *
     * @author Laurent Lécluse <laurent.lecluse at unicaen.fr>
     */
    class UpdateBddCommandFactory
    {
    
        /**
         * @param ContainerInterface $container
         * @param string             $requestedName
         * @param array|null         $options
         *
         * @return UpdateBddCommand
         */
        public function __invoke(ContainerInterface $container, $requestedName, $options = null): UpdateBddCommand
        {
            $command = new UpdateBddCommand;
            $command->setBdd($container->get(Bdd::class));
    
            return $command;
        }
    }