[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/db/migration/ -> container_aware_migration.php (source)

   1  <?php
   2  /**
   3  *
   4  * This file is part of the phpBB Forum Software package.
   5  *
   6  * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7  * @license GNU General Public License, version 2 (GPL-2.0)
   8  *
   9  * For full copyright and license information, please see
  10  * the docs/CREDITS.txt file.
  11  *
  12  */
  13  
  14  namespace phpbb\db\migration;
  15  
  16  use Symfony\Component\DependencyInjection\ContainerAwareInterface;
  17  use Symfony\Component\DependencyInjection\ContainerInterface;
  18  
  19  /**
  20  * Abstract base class for container aware database migrations.
  21  */
  22  abstract class container_aware_migration extends migration implements ContainerAwareInterface
  23  {
  24      /**
  25       * @var ContainerInterface
  26       */
  27      protected $container;
  28  
  29      /**
  30       * {@inheritdoc}
  31       */
  32  	public function setContainer(ContainerInterface $container = null)
  33      {
  34          $this->container = $container;
  35      }
  36  }


Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1