mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 07:50:37 +00:00
28 lines
525 B
PHP
28 lines
525 B
PHP
<?php
|
|
namespace crmeb\services\copyproduct;
|
|
|
|
abstract class CopyProduct
|
|
{
|
|
protected $config = [];
|
|
|
|
public function __construct(array $config = [])
|
|
{
|
|
$this->config = $config;
|
|
}
|
|
|
|
abstract public function copy($url, array $options = []);
|
|
|
|
abstract public function getPlatforms();
|
|
|
|
abstract public function getCapabilities();
|
|
|
|
public function setConfig(array $config)
|
|
{
|
|
$this->config = $config;
|
|
}
|
|
|
|
public function getConfig()
|
|
{
|
|
return $this->config;
|
|
}
|
|
} |