Issues (2)

src/PluginConfigurationInterface.php (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * TechDivision\Import\Configuration\PluginConfigurationInterface
5
 *
6
 * PHP version 7
7
 *
8
 * @author    Tim Wagner <[email protected]>
9
 * @copyright 2020 TechDivision GmbH <[email protected]>
10
 * @license   https://opensource.org/licenses/MIT
11
 * @link      https://github.com/techdivision/import-configuration
12
 * @link      http://www.techdivision.com
13
 */
14
15
namespace TechDivision\Import\Configuration;
16
17
/**
18
 * Interface for the plugin configuration implementation.
19
 *
20
 * @author    Tim Wagner <[email protected]>
21
 * @copyright 2020 TechDivision GmbH <[email protected]>
22
 * @license   https://opensource.org/licenses/MIT
23
 * @link      https://github.com/techdivision/import-configuration
24
 * @link      http://www.techdivision.com
25
 */
26
interface PluginConfigurationInterface extends ParamsConfigurationInterface, ImportAdapterAwareConfigurationInterface, ExportAdapterAwareConfigurationInterface
27
{
28
29
    /**
30
     * Return's the subject's unique DI identifier.
31
     *
32
     * @return string The subject's unique DI identifier
33
     */
34
    public function getId();
35
36
    /**
37
     * Return's the plugin's name or the ID, if the name is NOT set.
38
     *
39
     * @return string The plugin's name
40
     * @see \TechDivision\Import\Configuration\PluginConfigurationInterface::getId()
41
     */
42
    public function getName();
43
44
    /**
45
     * Return's the ArrayCollection with the operation's subjects.
46
     *
47
     * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operation's subjects
48
     */
49
    public function getSubjects();
50
51
    /**
52
     * Return's the reference to the configuration instance.
53
     *
54
     * @return \TechDivision\Import\Configuration\ConfigurationInterface The configuration instance
55
     */
56
    public function getConfiguration();
57
58
    /**
59
     * Return's the array with the configured listeners.
60
     *
61
     * @return array The array with the listeners
62
     */
63
    public function getListeners();
64
65
    /**
66
     * Return's the import adapter configuration instance.
67
     *
68
     * @return \TechDivision\Import\Configuration\Subject\ImportAdapterConfigurationInterface The import adapter configuration instance
69
     */
70
    public function getImportAdapter();
71
72
    /**
73
     * Return's the export adapter configuration instance.
74
     *
75
     * @return \TechDivision\Import\Configuration\Subject\ExportAdapterConfigurationInterface The export adapter configuration instance
76
     */
77
    public function getExportAdapter();
78
79
    /**
80
     * Return's the execution context configuration for the actualy plugin configuration.
81
     *
82
     * @return \TechDivision\Import\Configuration\ExecutionContextInterface The execution context to use
83
     */
84
    public function getExecutionContext();
85
86
    /**
87
     * Set's the configuration of the operation the plugin has been configured for.
88
     *
89
     * @param \\TechDivision\Import\Configuration\OperationConfigurationInterface $operationConfiguration The operation configuration
0 ignored issues
show
The type \TechDivision\Import\Con...nConfigurationInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
90
     *
91
     * @return void
92
     */
93
    public function setOperationConfiguration(OperationConfigurationInterface $operationConfiguration);
94
95
    /**
96
     * Return's the configuration of the operation the plugin has been configured for.
97
     *
98
     * @return \TechDivision\Import\Configuration\OperationConfigurationInterface The operation configuration
99
     */
100
    public function getOperationConfiguration();
101
102
    /**
103
     * Return's the full opration name, which consists of the Magento edition, the entity type code and the operation name.
104
     *
105
     * @param string $separator The separator used to seperate the elements
106
     *
107
     * @return string The full operation name
108
     */
109
    public function getFullOperationName($separator = '/');
110
}
111