Completed
Push — 1.4-new-behat ( e12fcf...33b548 )
by Kamil
27:34
created

MainPage::getRouteName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Sylius\Behat\Page\TestPlugin;
6
7
use FriendsOfBehat\PageObjectExtension\Page\SymfonyPage;
8
9
final class MainPage extends SymfonyPage implements MainPageInterface
10
{
11
    public function getContent(): string
12
    {
13
        return $this->getDocument()->find('css', 'body')->getText();
14
    }
15
16
    public function getRouteName(): string
17
    {
18
        return 'sylius_test_plugin_main';
19
    }
20
}
21