| 1 | <?php |
||
| 18 | class Installation implements DeltaInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * MongoDB. |
||
| 22 | * |
||
| 23 | * @var Database |
||
| 24 | */ |
||
| 25 | protected $db; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * OAuth2 storage. |
||
| 29 | * |
||
| 30 | * @var OAuth2Storage |
||
| 31 | */ |
||
| 32 | protected $storage; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Construct. |
||
| 36 | */ |
||
| 37 | public function __construct(OAuth2Storage $storage, Database $db) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function start(): bool |
||
| 55 | } |
||
| 56 |