@@ -4,12 +4,12 @@ |
||
| 4 | 4 | { |
| 5 | 5 | public function testActions() |
| 6 | 6 | { |
| 7 | - View::addLocation(dirname(__DIR__).'/fixtures/views'); |
|
| 7 | + View::addLocation( dirname( __DIR__ ) . '/fixtures/views' ); |
|
| 8 | 8 | |
| 9 | - $response = $this->action('GET', '\Aimeos\Shop\Controller\BasketController@indexAction', ['site' => 'unittest']); |
|
| 9 | + $response = $this->action( 'GET', '\Aimeos\Shop\Controller\BasketController@indexAction', ['site' => 'unittest'] ); |
|
| 10 | 10 | |
| 11 | 11 | $this->assertResponseOk(); |
| 12 | - $this->assertContains('<section class="aimeos basket-standard"', $response->getContent()); |
|
| 13 | - $this->assertContains('<section class="aimeos basket-related"', $response->getContent()); |
|
| 12 | + $this->assertContains( '<section class="aimeos basket-standard"', $response->getContent() ); |
|
| 13 | + $this->assertContains( '<section class="aimeos basket-related"', $response->getContent() ); |
|
| 14 | 14 | } |
| 15 | 15 | } |
| 16 | 16 | \ No newline at end of file |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Order extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new order frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Order\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'order' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new order frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Order\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'order' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Stock extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new stock frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Stock\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'stock' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new stock frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Stock\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'stock' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Supplier extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new supplier frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Supplier\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'supplier' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new supplier frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Supplier\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'supplier' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Locale extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new locale frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Locale\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new locale frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Locale\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'locale' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Subscription extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new subscription frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Subscription\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new subscription frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Subscription\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'subscription' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Catalog extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new catalog frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Catalog\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new catalog frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Catalog\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'catalog' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Customer extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new customer frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Customer\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new customer frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Customer\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'customer' ); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | class Basket extends \Illuminate\Support\Facades\Facade |
| 18 | 18 | { |
| 19 | - /** |
|
| 20 | - * Returns a new basket frontend controller object |
|
| 21 | - * |
|
| 22 | - * @return \Aimeos\Controller\Frontend\Basket\Iface |
|
| 23 | - */ |
|
| 24 | - protected static function getFacadeAccessor() |
|
| 25 | - { |
|
| 26 | - return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' ); |
|
| 27 | - } |
|
| 19 | + /** |
|
| 20 | + * Returns a new basket frontend controller object |
|
| 21 | + * |
|
| 22 | + * @return \Aimeos\Controller\Frontend\Basket\Iface |
|
| 23 | + */ |
|
| 24 | + protected static function getFacadeAccessor() |
|
| 25 | + { |
|
| 26 | + return \Aimeos\Controller\Frontend::create( app( 'aimeos.context' )->get(), 'basket' ); |
|
| 27 | + } |
|
| 28 | 28 | } |