This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from DivanteLtd/develop
Merge develop to master
- Loading branch information
Showing
25 changed files
with
645 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
"name": "Agata", | ||
"email": "[email protected]" | ||
}], | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"keywords": [ | ||
"magento", | ||
"magento2", | ||
|
31 changes: 31 additions & 0 deletions
31
...ule-vsbridge-indexer-catalog/Api/DataProvider/Category/AttributeDataProviderInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* @package Divante\VsbridgeIndexerCatalog | ||
* @author Agata Firlejczyk <[email protected]> | ||
* @copyright 2019 Divante Sp. z o.o. | ||
* @license See LICENSE_DIVANTE.txt for license details. | ||
*/ | ||
|
||
namespace Divante\VsbridgeIndexerCatalog\Api\DataProvider\Category; | ||
|
||
use Divante\VsbridgeIndexerCore\Api\DataProviderInterface; | ||
|
||
/** | ||
* Interface AttributeDataProviderInterface | ||
*/ | ||
interface AttributeDataProviderInterface extends DataProviderInterface | ||
{ | ||
/** | ||
* @param array $categoryDTO | ||
* | ||
* @return array | ||
*/ | ||
public function prepareParentCategory(array $categoryDTO); | ||
|
||
/** | ||
* @param array $categoryDTO | ||
* | ||
* @return array | ||
*/ | ||
public function prepareChildCategory(array $categoryDTO); | ||
} |
18 changes: 18 additions & 0 deletions
18
src/module-vsbridge-indexer-catalog/Logger/CatalogIndexerLogger.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* @package Divante\VsbridgeIndexerCatalog | ||
* @author Agata Firlejczyk <[email protected]> | ||
* @copyright 2019 Divante Sp. z o.o. | ||
* @license See LICENSE_DIVANTE.txt for license details. | ||
*/ | ||
|
||
namespace Divante\VsbridgeIndexerCatalog\Logger; | ||
|
||
use Monolog\Logger; | ||
|
||
/** | ||
* Class CatalogIndexerLogger | ||
*/ | ||
class CatalogIndexerLogger extends Logger | ||
{ | ||
} |
30 changes: 30 additions & 0 deletions
30
src/module-vsbridge-indexer-catalog/Logger/Handler/Error.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* @package Divante\VsbridgeIndexerCatalog | ||
* @author Agata Firlejczyk <[email protected]> | ||
* @copyright 2019 Divante Sp. z o.o. | ||
* @license See LICENSE_DIVANTE.txt for license details. | ||
*/ | ||
|
||
namespace Divante\VsbridgeIndexerCatalog\Logger\Handler; | ||
|
||
use Magento\Framework\Logger\Handler\Base; | ||
use Monolog\Logger; | ||
|
||
/** | ||
* Class Error | ||
*/ | ||
class Error extends Base | ||
{ | ||
/** | ||
* Logging level | ||
* @var int | ||
*/ | ||
protected $loggerType = Logger::ERROR; | ||
|
||
/** | ||
* File name | ||
* @var string | ||
*/ | ||
protected $fileName = '/var/log/vsbridge-indexer/catalog_error.log'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.