AbstractEvent::getRemoteAdapter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * @project Magento Bridge for Symfony 2.
5
 *
6
 * @author  Sébastien MALOT <[email protected]>
7
 * @license MIT
8
 * @url     <https://github.com/smalot/magento-bundle>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Smalot\MagentoBundle\Event;
15
16
use Smalot\Magento\RemoteAdapterInterface;
17
use Symfony\Component\EventDispatcher\Event;
18
19
/**
20
 * Class AbstractEvent
21
 *
22
 * @package Smalot\MagentoBundle\Event
23
 */
24
abstract class AbstractEvent extends Event
0 ignored issues
show
Deprecated Code introduced by
The class Symfony\Component\EventDispatcher\Event has been deprecated with message: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
25
{
26
    /**
27
     * @var \Smalot\Magento\RemoteAdapterInterface
28
     */
29
    protected $remoteAdapter;
30
31
    /**
32
     * @return \Smalot\Magento\RemoteAdapterInterface
33
     */
34
    public function getRemoteAdapter()
35
    {
36
        return $this->remoteAdapter;
37
    }
38
}
39