Completed
Pull Request — master (#326)
by Luc
04:24
created

DeleteOrganizer::getItemId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace CultuurNet\UDB3\Organizer\Commands;
4
5
use CultuurNet\UDB3\Offer\Commands\AuthorizableCommandInterface;
6
use CultuurNet\UDB3\Role\ValueObjects\Permission;
7
8
class DeleteOrganizer extends AbstractOrganizerCommand implements AuthorizableCommandInterface
9
{
10
    /**
11
     * @inheritdoc
12
     */
13
    public function getItemId()
14
    {
15
        return $this->getOrganizerId();
16
    }
17
18
    /**
19
     * @inheritdoc
20
     */
21
    public function getPermission()
22
    {
23
        return Permission::ORGANISATIES_BEHEREN();
24
    }
25
}
26