Completed
Push — master ( ed3593...2f770f )
by Boy
9s
created

institutionHasPersonalRaLocations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Surfnet\StepupMiddlewareClientBundle\Configuration\Service;
4
5
use Surfnet\StepupMiddlewareClient\Configuration\Service\InstitutionWithPersonalRaLocationsService
6
    as LibraryInstitutionWithPersonalRaLocationsService;
7
8
class InstitutionWithPersonalRaLocationsService
9
{
10
    /**
11
     * @var LibraryInstitutionWithPersonalRaLocationsService
12
     */
13
    private $service;
14
15
    public function __construct(LibraryInstitutionWithPersonalRaLocationsService $service)
16
    {
17
        $this->service = $service;
18
    }
19
20
    /**
21
     * @param string $institution
22
     * @return bool
23
     */
24
    public function institutionHasPersonalRaLocations($institution)
25
    {
26
        return $this->service->institutionHasPersonalRaLocations($institution);
27
    }
28
}
29