This repository has been archived by the owner on May 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
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 #8 from tuyennn/feature/cron-auto-post
Feature/cron auto post
- Loading branch information
Showing
19 changed files
with
1,367 additions
and
837 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
namespace GhoSter\AutoInstagramPost\Api; | ||
|
||
use Magento\Catalog\Model\Product; | ||
use Magento\Catalog\Model\ResourceModel\Product\Collection as ProductCollection; | ||
|
||
interface WorkerInterface { | ||
|
||
/** | ||
* Post to Instagram by Product | ||
* @param Product $product | ||
*/ | ||
public function postInstagramByProduct(Product $product); | ||
|
||
/** | ||
* @param ProductCollection $collection | ||
* @return mixed | ||
*/ | ||
public function postInstagramByProductCollection(ProductCollection $collection); | ||
} |
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.