for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Magefix\Plugin;
/**
* Class DriverCurrentUrl
*
* @package Magefix\Plugin
* @author Carlo Tasca <[email protected]>
*/
trait DriverCurrentUrl
{
abstract public function getDriver();
* Magefix version backward compatibility method before refactoring to getDriverCurrentUrl
* @return mixed
public function getCurrentUrl()
return $this->getDriverCurrentUrl();
}
public function getDriverCurrentUrl()
return $this->getDriver()->getCurrentUrl();