Test Failed
Push — master ( 99cade...32f37c )
by Dan Michael O.
10:15
created

RequestedResource::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Scriptotek\Alma\TaskLists;
4
5
use Scriptotek\Alma\Bibs\Bib;
6
use Scriptotek\Alma\Client;
7
use Scriptotek\Alma\Conf\Library;
8
use Scriptotek\Alma\Model\Model;
9
10
class RequestedResource extends Model
11
{
12
    public $library;
13
    public $circ_desk;
14
    public $bib;
15
16
    /**
17
     * RequestedResource constructor.
18
     * @param Client $client
19
     * @param Library $library
20
     * @param $circ_desc
21
     * @param Bib $bib
22
     */
23
    public function __construct(Client $client, Library $library, $circ_desc, Bib $bib)
24
    {
25
        parent::__construct($client);
26
        $this->library = $library;
27
        $this->circ_desk = $circ_desc;
28
        $this->bib = $bib;
29
    }
30
}
31