| 1 | <?php |
||
| 28 | abstract class BaseActivity implements WorkflowActivityInterface |
||
| 29 | { |
||
| 30 | use LoggerAwareTrait; |
||
| 31 | use EventDispatcherAwareTrait; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var ProfileInterface |
||
| 35 | */ |
||
| 36 | protected $profile; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var BackupInterface |
||
| 40 | */ |
||
| 41 | protected $backup; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Set current backup. |
||
| 45 | * |
||
| 46 | * @param BackupInterface $backup Current backup. |
||
| 47 | * @return BaseActivity $this Fluent interface. |
||
| 48 | */ |
||
| 49 | 28 | public function setBackup(BackupInterface $backup) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * Set current profile. |
||
| 57 | * |
||
| 58 | * @param ProfileInterface $profile Current profile. |
||
| 59 | * @return BaseActivity $this Fluent interface. |
||
| 60 | */ |
||
| 61 | 28 | public function setProfile(ProfileInterface $profile) |
|
| 66 | } |
||
| 67 |