AttributeAkeneoApiReadStream   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 4
c 1
b 0
f 1
dl 0
loc 11
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A open() 0 6 1
1
<?php
2
3
/**
4
 * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\AkeneoPimMiddlewareConnector\Business\Stream\Akeneo;
9
10
class AttributeAkeneoApiReadStream extends AbstractAkeneoApiReadStream
11
{
12
    /**
13
     * @return bool
14
     */
15
    public function open(): bool
16
    {
17
        $this->cursor = $this->akeneoPimService
18
            ->getAllAttributes();
19
20
        return true;
21
    }
22
}
23