Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.command')]
readonly class CommandAliasQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.command-name')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.command')]
readonly class CommandClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.command-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.command')]
readonly class CommandNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.command-name')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.controller')]
readonly class ActionMethodNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.controller-action')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.controller')]
readonly class ControllerClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.controller-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.event')]
readonly class EventClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.event-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.event-listener')]
readonly class EventListenerClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.event-listener-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.extension')]
readonly class ComposerNameQuestion extends AbstractQuestion
Expand All @@ -32,6 +33,7 @@
];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.composer_name')]
private iterable $inputHandlers,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Command/Input/Question/Extension/EmailQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.extension')]
readonly class EmailQuestion extends AbstractQuestion
Expand All @@ -30,6 +31,7 @@
];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.email')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.extension')]
readonly class ExtensionKeyQuestion extends AbstractQuestion
Expand All @@ -30,6 +31,7 @@
];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.extension_key')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.extension')]
readonly class NamespaceQuestion extends AbstractQuestion
Expand All @@ -31,6 +32,7 @@
];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.namespace')]
private iterable $inputHandlers,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Command/Input/Question/Extension/VersionQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.extension')]
readonly class VersionQuestion extends AbstractQuestion
Expand All @@ -33,6 +34,7 @@
];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.version')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.locallang')]
readonly class LocallangFileNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.locallang_file_name')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.locallang')]
readonly class LocallangTransUnitIdQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.locallang_trans_unit_id')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.middleware')]
readonly class MiddlewareClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.middleware-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.middleware')]
readonly class MiddlewareIdentifierQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.middleware-identifier')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.model')]
readonly class ModelClassNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.model-class')]
private iterable $inputHandlers,
) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.module')]
readonly class ModuleIdentifierQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.module-identifier')]
private iterable $inputHandlers,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Command/Input/Question/Plugin/PluginNameQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use FriendsOfTYPO3\Kickstarter\Command\Input\Question\AbstractQuestion;
use FriendsOfTYPO3\Kickstarter\Context\CommandContext;
use Symfony\Component\DependencyInjection\Attribute\AutoconfigureTag;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

#[AutoconfigureTag('ext-kickstarter.command.question.plugin')]
readonly class PluginNameQuestion extends AbstractQuestion
Expand All @@ -27,6 +28,7 @@
private const DESCRIPTION = [];

public function __construct(
#[AutowireIterator('ext-kickstarter.inputHandler.plugin-name')]
private iterable $inputHandlers,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Service/Creator/CommandCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
namespace FriendsOfTYPO3\Kickstarter\Service\Creator;

use FriendsOfTYPO3\Kickstarter\Information\CommandInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class CommandCreatorService
{
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.command')]
private iterable $commandCreators,
) {}

Expand Down
3 changes: 3 additions & 0 deletions Classes/Service/Creator/ControllerCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
namespace FriendsOfTYPO3\Kickstarter\Service\Creator;

use FriendsOfTYPO3\Kickstarter\Information\ControllerInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class ControllerCreatorService
{
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.controller.extbase')]
private iterable $extbaseControllerCreators,
#[AutowireIterator('ext-kickstarter.creator.controller.native')]
private iterable $nativeControllerCreators,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Service/Creator/EventCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
namespace FriendsOfTYPO3\Kickstarter\Service\Creator;

use FriendsOfTYPO3\Kickstarter\Information\EventInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class EventCreatorService
{
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.event')]
private iterable $eventCreators,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Service/Creator/EventListenerCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
namespace FriendsOfTYPO3\Kickstarter\Service\Creator;

use FriendsOfTYPO3\Kickstarter\Information\EventListenerInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class EventListenerCreatorService
{
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.event-listener')]
private iterable $eventListenerCreators,
) {}

Expand Down
3 changes: 3 additions & 0 deletions Classes/Service/Creator/ExtensionCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@
use FriendsOfTYPO3\Kickstarter\Creator\Extension\ExtensionCreatorInterface;
use FriendsOfTYPO3\Kickstarter\Information\ExtensionInformation;
use FriendsOfTYPO3\Kickstarter\Information\ServicesConfigInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class ExtensionCreatorService
{
/**
* @param iterable<ExtensionCreatorInterface> $extensionCreators
*/
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.extension')]
private iterable $extensionCreators,
#[AutowireIterator('ext-kickstarter.creator.servicesConfig')]
private iterable $servicesConfigCreators,
) {}

Expand Down
2 changes: 2 additions & 0 deletions Classes/Service/Creator/LocallangCreatorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@

use FriendsOfTYPO3\Kickstarter\Creator\Locallang\LocallangCreatorInterface;
use FriendsOfTYPO3\Kickstarter\Information\LocallangInformation;
use Symfony\Component\DependencyInjection\Attribute\AutowireIterator;

readonly class LocallangCreatorService
{
/**
* @param iterable<LocallangCreatorInterface> $locallangCreators
*/
public function __construct(
#[AutowireIterator('ext-kickstarter.creator.locallang')]
private iterable $locallangCreators,
) {}

Expand Down
Loading