diff options
Diffstat (limited to 'phpBB/phpbb/console/command/command.php')
| -rw-r--r-- | phpBB/phpbb/console/command/command.php | 23 | 
1 files changed, 20 insertions, 3 deletions
| diff --git a/phpBB/phpbb/console/command/command.php b/phpBB/phpbb/console/command/command.php index 6abbdd203c..638c989da2 100644 --- a/phpBB/phpbb/console/command/command.php +++ b/phpBB/phpbb/console/command/command.php @@ -1,9 +1,13 @@  <?php  /**  * -* @package phpBB3 -* @copyright (c) 2013 phpBB Group -* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 +* This file is part of the phpBB Forum Software package. +* +* @copyright (c) phpBB Limited <https://www.phpbb.com> +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file.  *  */ @@ -11,4 +15,17 @@ namespace phpbb\console\command;  abstract class command extends \Symfony\Component\Console\Command\Command  { +	/** @var \phpbb\user */ +	protected $user; + +	/** +	* Constructor +	* +	* @param \phpbb\user $user User instance (mostly for translation) +	*/ +	public function __construct(\phpbb\user $user) +	{ +		$this->user = $user; +		parent::__construct(); +	}  } | 
