Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
jump_to_restart_point_exception
0.00% covered (danger)
0.00%
0 / 3
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 get_restart_point_name
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
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
14namespace phpbb\install\exception;
15
16class jump_to_restart_point_exception extends installer_exception
17{
18    /**
19     * @var string
20     */
21    protected $restart_point_name;
22
23    /**
24     * Constructor
25     *
26     * @param string $restart_point_name
27     */
28    public function __construct($restart_point_name)
29    {
30        $this->restart_point_name = $restart_point_name;
31
32        parent::__construct();
33    }
34
35    /**
36     * Returns the restart point's name
37     *
38     * @return string
39     */
40    public function get_restart_point_name()
41    {
42        return $this->restart_point_name;
43    }
44}