Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
guesser_base
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
2 / 2
2
100.00% covered (success)
100.00%
1 / 1
 get_priority
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 set_priority
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
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\mimetype;
15
16abstract class guesser_base implements guesser_interface
17{
18    /**
19    * @var int Guesser Priority
20    */
21    protected $priority;
22
23    /**
24    * {@inheritdoc}
25    */
26    public function get_priority()
27    {
28        return $this->priority;
29    }
30
31    /**
32    * {@inheritdoc}
33    */
34    public function set_priority($priority)
35    {
36        $this->priority = $priority;
37    }
38}