phpbb\console\command\reparser\list_all::__construct PHP Method

__construct() public method

Constructor
public __construct ( phpbb\user $user, phpbb\di\service_collection $reparsers )
$user phpbb\user
$reparsers phpbb\di\service_collection
    public function __construct(\phpbb\user $user, \phpbb\di\service_collection $reparsers)
    {
        parent::__construct($user);
        $this->reparser_names = array();
        foreach ($reparsers as $reparser) {
            // Store the names without the "text_reparser." prefix
            $this->reparser_names[] = $reparser->get_name();
        }
    }