Skip to content

Commit b12240d

Browse files
committed
WIP - make:scheduler
1 parent 2c90181 commit b12240d

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

src/Maker/MakeScheduler.php

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
3+
namespace Symfony\Bundle\MakerBundle\Maker;
4+
5+
use Symfony\Bundle\MakerBundle\ConsoleStyle;
6+
use Symfony\Bundle\MakerBundle\DependencyBuilder;
7+
use Symfony\Bundle\MakerBundle\Generator;
8+
use Symfony\Bundle\MakerBundle\InputConfiguration;
9+
use Symfony\Component\Console\Command\Command;
10+
use Symfony\Component\Console\Input\InputInterface;
11+
12+
/**
13+
* @author Jesse Rushlow <[email protected]>
14+
*/
15+
class MakeScheduler extends AbstractMaker
16+
{
17+
public static function getCommandName(): string
18+
{
19+
return 'make:scheduler';
20+
}
21+
22+
public static function getCommandDescription(): string
23+
{
24+
return 'Create a scheduler component';
25+
}
26+
27+
public function configureCommand(Command $command, InputConfiguration $inputConfig): void
28+
{
29+
$command
30+
->setHelp(file_get_contents(__DIR__.'/../Resources/help/MakeScheduler.txt'))
31+
;
32+
}
33+
34+
public function interact(InputInterface $input, ConsoleStyle $io, Command $command): void
35+
{
36+
parent::interact($input, $io, $command);
37+
}
38+
39+
public function generate(InputInterface $input, ConsoleStyle $io, Generator $generator): void
40+
{
41+
// TODO: Implement generate() method.
42+
}
43+
44+
public function configureDependencies(DependencyBuilder $dependencies): void
45+
{
46+
// TODO: Implement configureDependencies() method.
47+
}
48+
}

src/Resources/help/MakeScheduler.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO!

0 commit comments

Comments
 (0)