Passed
Push — 1.11.x ( b08d33...fc80cf )
by Angel Fernando Quiroz
08:20 queued 14s
created

Presenter::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
namespace Chamilo\PluginBundle\Zoom;
6
7
use Doctrine\ORM\Mapping as ORM;
8
use Exception;
9
10
/**
11
 * @ORM\Entity()
12
 * @ORM\HasLifecycleCallbacks()
13
 */
14
class Presenter extends Registrant
15
{
16
    public function __toString()
17
    {
18
        return sprintf('Presenter %d', $this->id);
19
    }
20
21
    /**
22
     * @ORM\PostLoad()
23
     *
24
     * @throws Exception
25
     */
26
    public function postLoad()
27
    {
28
        parent::postLoad();
29
    }
30
31
    /**
32
     * @ORM\PreFlush()
33
     */
34
    public function preFlush()
35
    {
36
        parent::preFlush();
37
    }
38
}
39