vendor/pdir/contao-webtools/src/PdirContaoWebtoolsBundle.php line 27

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * Web-Tools Bundle for Contao Open Source CMS
  5.  *
  6.  * Copyright (c) 2022 pdir / digital agentur // pdir GmbH
  7.  *
  8.  * @package    webtools-bundle
  9.  * @link       https://pdir.de/contao-webtools/
  10.  * @license    LGPL-3.0-or-later
  11.  * @author     Mathias Arzberger <develop@pdir.de>
  12.  * @author     Christian Mette <develop@pdir.de>
  13.  *
  14.  * For the full copyright and license information, please view the LICENSE
  15.  * file that was distributed with this source code.
  16.  */
  17. namespace Pdir\ContaoWebtoolsBundle;
  18. use Symfony\Component\HttpKernel\Bundle\Bundle;
  19. // Load pdir global functions
  20. require_once __DIR__.'/../functions/pdump.php';
  21. class PdirContaoWebtoolsBundle extends Bundle
  22. {
  23.     public function getPath(): string
  24.     {
  25.         return \dirname(__DIR__);
  26.     }
  27. }