-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(command): scheduler:export #198
base: main
Are you sure you want to change the base?
Conversation
Guikingone
commented
Oct 14, 2021
•
edited
Loading
edited
Q | A |
---|---|
PHP version? | 8.0 |
Bundle version? | >= 0.9.0 |
Symfony version? | >= 5.4 |
New feature? | yes |
Bug fix? | yes |
ExporterRegistryInterface $exporterRegistry, | ||
SchedulerInterface $scheduler | ||
) { | ||
$this->exporterRegistry = $exporterRegistry; | ||
$this->scheduler = $scheduler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ExporterRegistryInterface $exporterRegistry, | |
SchedulerInterface $scheduler | |
) { | |
$this->exporterRegistry = $exporterRegistry; | |
$this->scheduler = $scheduler; | |
private ExporterRegistryInterface $exporterRegistry, | |
private SchedulerInterface $scheduler | |
) { |
private ExporterRegistryInterface $exporterRegistry; | ||
private SchedulerInterface $scheduler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private ExporterRegistryInterface $exporterRegistry; | |
private SchedulerInterface $scheduler; |
*/ | ||
abstract class AbstractExporter implements ExporterInterface | ||
{ | ||
private string $projectDir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private string $projectDir; |
public function __construct(string $projectDir) | ||
{ | ||
$this->projectDir = $projectDir; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function __construct(string $projectDir) | |
{ | |
$this->projectDir = $projectDir; | |
} | |
public function __construct(private string $projectDir) | |
{ | |
} |
/** | ||
* @var ExporterInterface[] | ||
*/ | ||
private iterable $exporterList; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** | |
* @var ExporterInterface[] | |
*/ | |
private iterable $exporterList; |
public function __construct(iterable $exporterList) | ||
{ | ||
$this->exporterList = $exporterList; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function __construct(iterable $exporterList) | |
{ | |
$this->exporterList = $exporterList; | |
} | |
public function __construct(private iterable $exporterList) | |
{ | |
} |