NightlyCommandInterface
last analyzed

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
getPriority() 0 1 ?
isEssential() 0 1 ?
1
<?php
2
3
namespace Dekalee\NightlyTaskBundle\Command;
4
5
/**
6
 * Interface NightlyCommandInterface
7
 */
8
interface NightlyCommandInterface
9
{
10
    /**
11
     * Higher priority is run first
12
     *
13
     * @return int
14
     */
15
    public function getPriority();
16
17
    /**
18
     * Returns a boolean if we should only log the failure of the task
19
     *
20
     * @return bool
21
     */
22
    public function isEssential();
23
}
24