Skip to content
This repository has been archived by the owner on Feb 4, 2019. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'nonsplit/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gerner-spryker committed Mar 13, 2018
2 parents 0d2ffd0 + 133de1f commit a82bfdb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pyz/Yves/Cart/Handler/BaseHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(FlashMessengerInterface $flashMessenger)
}

/**
* @param \Spryker\Client\Kernel\AbstractClient $client
* @param \Spryker\Client\Cart\CartClient|\Spryker\Client\Kernel\AbstractClient|\Spryker\Client\Cart\CartClientInterface $client
*
* @return void
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
use Pyz\Zed\Customer\CustomerDependencyProvider;
use Spryker\Zed\Customer\Communication\CustomerCommunicationFactory as SprykerCustomerCommunicationFactory;

/**
* @method \Pyz\Zed\Customer\CustomerConfig getConfig()
*/
class CustomerCommunicationFactory extends SprykerCustomerCommunicationFactory
{
/**
Expand Down
32 changes: 32 additions & 0 deletions src/Pyz/Zed/Customer/CustomerConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/**
* This file is part of the Spryker Demoshop.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/

namespace Pyz\Zed\Customer;

use Spryker\Zed\Customer\CustomerConfig as SprykerCustomerConfig;

class CustomerConfig extends SprykerCustomerConfig
{
/**
* This method provides list of urls to render blocks inside customer detail page.
* URL defines path to external bundle controller. For example: /sales/customer/customer-orders would call sales bundle, customer controller, customerOrders action.
* Action should return return array or redirect response.
*
* example:
* [
* 'sales' => '/sales/customer/customer-orders',
* ]
*
* @return array
*/
public function getCustomerDetailExternalBlocksUrls()
{
return [
'sales' => '/sales/customer/customer-orders',
];
}
}

0 comments on commit a82bfdb

Please sign in to comment.