18 lines
443 B
PHP
18 lines
443 B
PHP
<?php
|
|
|
|
namespace Krzysiej\RyobiCrawler\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
|
|
use Twig\Environment;
|
|
use Illuminate\Database\Capsule\Manager as Capsule;
|
|
|
|
class BaseController extends AbstractController
|
|
{
|
|
protected Environment $twig;
|
|
|
|
public function __construct(protected FilesystemAdapter $cache, protected Capsule $database)
|
|
{
|
|
}
|
|
}
|