AbstractPage::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
/*
4
 * This is part of the webuni/srazy-api-client.
5
 *
6
 * (c) Martin Hasoň <[email protected]>
7
 * (c) Webuni s.r.o. <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Webuni\Srazy\Page;
14
15
use Webuni\Srazy\Client;
16
use Webuni\Srazy\Crawler;
17
18
class AbstractPage
19
{
20
    protected $crawler;
21
    protected $client;
22
23
    public function __construct(Crawler $crawler, Client $client)
24
    {
25
        $this->crawler = $crawler;
26
        $this->client = $client;
27
    }
28
}
29