| 1 | <?php |
||
| 26 | abstract class BaseActivity implements WorkflowActivityInterface |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @var ProfileInterface |
||
| 30 | */ |
||
| 31 | protected $profile; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var BackupInterface |
||
| 35 | */ |
||
| 36 | protected $backup; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Set current backup. |
||
| 40 | * |
||
| 41 | * @param BackupInterface $backup Current backup. |
||
| 42 | * @return BaseActivity $this Fluent interface. |
||
| 43 | */ |
||
| 44 | 6 | public function setBackup(BackupInterface $backup) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * Set current profile. |
||
| 52 | * |
||
| 53 | * @param ProfileInterface $profile Current profile. |
||
| 54 | * @return BaseActivity $this Fluent interface. |
||
| 55 | */ |
||
| 56 | 6 | public function setProfile(ProfileInterface $profile) |
|
| 61 | } |
||
| 62 |