RequestedResource::__construct()   A
last analyzed

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
     *
19
     * @param Client  $client
20
     * @param Library $library
21
     * @param $circ_desc
22
     * @param Bib $bib
23
     */
24
    public function __construct(Client $client, Library $library, $circ_desc, Bib $bib)
25
    {
26
        parent::__construct($client);
27
        $this->library = $library;
28
        $this->circ_desk = $circ_desc;
29
        $this->bib = $bib;
30
    }
31
}
32