mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
30 lines
809 B
PHP
30 lines
809 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Bundle\Model\ResourceModel\Selection\Plugin;
|
|
|
|
use Magento\Store\Model\Store;
|
|
|
|
class Collection
|
|
{
|
|
/**
|
|
* Join website product limitation override
|
|
* we don't need the website->product filter for children on selections
|
|
*
|
|
* @param \Magento\Bundle\Model\ResourceModel\Selection\Collection $subject
|
|
* @param \Closure $proceed
|
|
* @param null|string|bool|int|Store $store
|
|
* @return $this
|
|
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
|
*/
|
|
public function aroundAddStoreFilter(
|
|
\Magento\Bundle\Model\ResourceModel\Selection\Collection $subject,
|
|
\Closure $proceed,
|
|
$store = null
|
|
) {
|
|
return $subject;
|
|
}
|
|
}
|