Completed
Push — develop ( 7c60a0...5a505b )
by Carlo
8s
created

DriverCurrentUrl::getDriver()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 1
nc 1
1
<?php
2
3
namespace Magefix\Plugin;
4
5
/**
6
 * Class DriverCurrentUrl
7
 * 
8
 * @package Magefix\Plugin
9
 * @author  Carlo Tasca <[email protected]>
10
 */
11
trait DriverCurrentUrl
12
{
13
    abstract public function getDriver();
14
15
    /**
16
     * @return mixed
17
     */
18
    public function getDriverCurrentUrl()
19
    {
20
        return $this->getDriver()->getCurrentUrl();
21
    }
22
}
23