Completed
Push — dev/product_visibility ( 1ee472 )
by Kiyotaka
06:23
created

ProductVisibility::checkVisibility()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
nc 1
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
/*
3
 * This file is part of EC-CUBE
4
 *
5
 * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
6
 *
7
 * http://www.ec-cube.co.jp/
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Eccube\Service\Product;
14
15
16
use Eccube\Doctrine\Query\WhereCustomizer;
17
use Eccube\Entity\Product;
18
use Eccube\Repository\QueryKey;
19
20
abstract class ProductVisibility extends WhereCustomizer
21
{
22
    /**
23
     * @param Product $Product
24
     * @return boolean
25
     */
26
    public abstract function checkVisibility(Product $Product);
27
28
    public function getQueryKey()
29
    {
30
        return QueryKey::PRODUCT_SEARCH;
31
    }
32
33
}
34