forked from smartboxgroup/integration-framework-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathService.php
More file actions
51 lines (44 loc) · 987 Bytes
/
Service.php
File metadata and controls
51 lines (44 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
namespace Smartbox\Integration\FrameworkBundle;
use JMS\Serializer\Annotation as JMS;
use Smartbox\CoreBundle\Type\SerializableInterface;
use Smartbox\CoreBundle\Type\Traits\HasInternalType;
use Smartbox\Integration\FrameworkBundle\DependencyInjection\Traits\MessageFactoryAware;
use Smartbox\Integration\FrameworkBundle\DependencyInjection\Traits\UsesEventDispatcher;
/**
* Class Service.
*/
abstract class Service implements SerializableInterface
{
use HasInternalType;
use UsesEventDispatcher;
use MessageFactoryAware;
/**
* @var string
*
* @JMS\Type("string")
* @JMS\Expose
* @JMS\Groups({"logs"})
*/
public $id;
/**
* Service constructor.
*/
public function __construct()
{
}
/**
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* @param string $id
*/
public function setId($id)
{
$this->id = $id;
}
}