Total Complexity | 7 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Profiler extends \Nip_Profiler |
||
10 | { |
||
11 | public $filterTypes = null; |
||
12 | |||
13 | /** |
||
14 | * @param $id |
||
15 | * @return QueryProfile|\Nip\Profiler\Profile |
||
16 | */ |
||
17 | public function newProfile($id) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @param $profile |
||
24 | * @return bool |
||
25 | */ |
||
26 | protected function applyFilters($profile) |
||
27 | { |
||
28 | if (parent::applyFilters($profile)) { |
||
29 | return $this->secondsFilter($profile); |
||
30 | } |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param $profile |
||
35 | * @return bool |
||
36 | */ |
||
37 | public function typeFilter($profile) |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param null $queryTypes |
||
|
|||
50 | * @return $this |
||
51 | */ |
||
52 | public function setFilterQueryType($queryTypes = null) |
||
59 |