Skip to content

Commit

Permalink
Renamed classes from Laravel5 to Laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Mar 21, 2022
1 parent 660cb37 commit 58fd34c
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions src/Base/Cache/Laravel5.php → src/Base/Cache/Laravel.php
Expand Up @@ -3,7 +3,7 @@
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2022
* @package MW
* @package Base
* @subpackage Cache
*/

Expand All @@ -12,12 +12,12 @@


/**
* Laravel 5 caching implementation.
* Laravel caching implementation.
*
* @package MW
* @package Base
* @subpackage Cache
*/
class Laravel5
class Laravel
extends \Aimeos\Base\Cache\Base
implements \Aimeos\Base\Cache\Iface
{
Expand Down
4 changes: 2 additions & 2 deletions src/Base/View/Engine/Blade.php
Expand Up @@ -3,7 +3,7 @@
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2017-2022
* @package MW
* @package Base
* @subpackage View
*/

Expand All @@ -14,7 +14,7 @@
/**
* Blade view engine implementation
*
* @package MW
* @package Base
* @subpackage View
*/
class Blade implements Iface
Expand Down
Expand Up @@ -3,7 +3,7 @@
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2022
* @package MW
* @package Base
* @subpackage View
*/

Expand All @@ -14,10 +14,10 @@
/**
* View helper class for retrieving request data.
*
* @package MW
* @package Base
* @subpackage View
*/
class Laravel5
class Laravel
extends \Aimeos\Base\View\Helper\Request\Standard
implements \Aimeos\Base\View\Helper\Request\Iface
{
Expand Down
Expand Up @@ -3,7 +3,7 @@
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2022
* @package MW
* @package Base
* @subpackage View
*/

Expand All @@ -14,10 +14,10 @@
/**
* View helper class for retrieving response data.
*
* @package MW
* @package Base
* @subpackage View
*/
class Laravel5
class Laravel
extends \Aimeos\Base\View\Helper\Response\Standard
implements \Aimeos\Base\View\Helper\Response\Iface
{
Expand Down
Expand Up @@ -3,7 +3,7 @@
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2022
* @package MW
* @package Base
* @subpackage View
*/

Expand All @@ -14,10 +14,10 @@
/**
* View helper class for generating URLs using the Laravel 5 URL builder.
*
* @package MW
* @package Base
* @subpackage View
*/
class Laravel5
class Laravel
extends \Aimeos\Base\View\Helper\Url\Base
implements \Aimeos\Base\View\Helper\Url\Iface
{
Expand Down
Expand Up @@ -9,7 +9,7 @@
namespace Aimeos\Base\Cache;


class Laravel5Test extends \PHPUnit\Framework\TestCase
class LaravelTest extends \PHPUnit\Framework\TestCase
{
private $object;
private $mock;
Expand All @@ -22,7 +22,7 @@ protected function setUp() : void
}

$this->mock = $this->getMockBuilder( '\\Illuminate\\Contracts\\Cache\\Store' )->getMock();
$this->object = new \Aimeos\Base\Cache\Laravel5( $this->mock );
$this->object = new \Aimeos\Base\Cache\Laravel( $this->mock );
}


Expand Down
Expand Up @@ -9,7 +9,7 @@
namespace Aimeos\Base\View\Helper\Request;


class Laravel5Test extends \PHPUnit\Framework\TestCase
class LaravelTest extends \PHPUnit\Framework\TestCase
{
private $object;
private $mock;
Expand All @@ -21,7 +21,7 @@ protected function setUp() : void
$param = array( 'HTTP_HOST' => 'localhost', 'REMOTE_ADDR' => '127.0.0.1' );
$request = new \Illuminate\Http\Request( [], [], [], [], [], $param, 'Content' );

$this->object = new \Aimeos\Base\View\Helper\Request\Laravel5( $view, $request );
$this->object = new \Aimeos\Base\View\Helper\Request\Laravel( $view, $request );
}


Expand All @@ -33,7 +33,7 @@ protected function tearDown() : void

public function testTransform()
{
$this->assertInstanceOf( '\Aimeos\Base\View\Helper\Request\Laravel5', $this->object->transform() );
$this->assertInstanceOf( '\Aimeos\Base\View\Helper\Request\Laravel', $this->object->transform() );
}


Expand Down
Expand Up @@ -9,7 +9,7 @@
namespace Aimeos\Base\View\Helper\Response;


class Laravel5Test extends \PHPUnit\Framework\TestCase
class LaravelTest extends \PHPUnit\Framework\TestCase
{
private $object;
private $mock;
Expand All @@ -18,7 +18,7 @@ class Laravel5Test extends \PHPUnit\Framework\TestCase
protected function setUp() : void
{
$view = new \Aimeos\Base\View\Standard();
$this->object = new \Aimeos\Base\View\Helper\Response\Laravel5( $view );
$this->object = new \Aimeos\Base\View\Helper\Response\Laravel( $view );
}


Expand All @@ -30,6 +30,6 @@ protected function tearDown() : void

public function testTransform()
{
$this->assertInstanceOf( '\Aimeos\Base\View\Helper\Response\Laravel5', $this->object->transform() );
$this->assertInstanceOf( '\Aimeos\Base\View\Helper\Response\Laravel', $this->object->transform() );
}
}
Expand Up @@ -9,7 +9,7 @@
namespace Aimeos\Base\View\Helper\Url;


class Laravel5Test extends \PHPUnit\Framework\TestCase
class LaravelTest extends \PHPUnit\Framework\TestCase
{
private $object;
private $mock;
Expand All @@ -25,7 +25,7 @@ protected function setUp() : void
$this->mock = $this->getMockBuilder( '\\Illuminate\\Routing\\UrlGenerator' )
->disableOriginalConstructor()->getMock();

$this->object = new \Aimeos\Base\View\Helper\Url\Laravel5( $view, $this->mock, [] );
$this->object = new \Aimeos\Base\View\Helper\Url\Laravel( $view, $this->mock, [] );
}


Expand Down

0 comments on commit 58fd34c

Please sign in to comment.