Completed
Push — master ( 2c1a94...065363 )
by Wachter
13:32 queued 10:25
created

TaskExecution   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of php-task library.
5
 *
6
 * (c) php-task
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Task\TaskBundle\Entity;
13
14
use Task\Execution\TaskExecution as BaseTaskExecution;
15
16
/**
17
 * Extends base task-execution with id which will be stored in database.
18
 */
19
class TaskExecution extends BaseTaskExecution
20
{
21
    /**
22
     * @var int
23
     */
24
    private $id;
25
26
    /**
27
     * @return int
28
     */
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
}
34