Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ProklUng committed May 31, 2021
1 parent ed066a3 commit 8acf1bf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions TaskSchedulerBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Prokl\TaskSchedulerBundle\DependencyInjection\Compiler\EventDispatcherPass;
use Prokl\TaskSchedulerBundle\DependencyInjection\Compiler\TaskPass;
use Prokl\TaskSchedulerBundle\DependencyInjection\TaskSchedulerExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand All @@ -13,6 +14,18 @@
*/
final class TaskSchedulerBundle extends Bundle
{
/**
* @inheritDoc
*/
public function getContainerExtension()
{
if ($this->extension === null) {
$this->extension = new TaskSchedulerExtension();
}

return $this->extension;
}

/**
* @inheritDoc
*/
Expand Down

0 comments on commit 8acf1bf

Please sign in to comment.