Skip to content

Commit

Permalink
Update phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Apr 4, 2023
1 parent 8946ec5 commit 101a250
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/classes/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CommonGateway\PetStoreBundle

* [Service\InstallationService](Service/InstallationService.md)
* [Service\PetStoreService](Service/PetStoreService.md)
* [Service\InstallationService](Service/InstallationService.md)
* [Service\PetStoreService](Service/PetStoreService.md)
64 changes: 49 additions & 15 deletions docs/classes/Service/InstallationService.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,61 @@
# CommonGateway\PetStoreBundle\Service\InstallationService
# CommonGateway\PetStoreBundle\Service\InstallationService


## Implements:

## Implements:
CommonGateway\CoreBundle\Installer\InstallerInterface



## Methods

| Name | Description |
|------|-------------|
|[\_\_construct](#installationservice__construct)|The constructor|
|[__construct](#installationservice__construct)|The constructor|
|[checkDataConsistency](#installationservicecheckdataconsistency)|The actual code run on update and installation of this bundle|
|[install](#installationserviceinstall)|Every installation service should implement an install function|
|[uninstall](#installationserviceuninstall)|Every installation service should implement an uninstall function|
|[update](#installationserviceupdate)|Every installation service should implement an update function|

### InstallationService::\_\_construct



### InstallationService::__construct

**Description**

```php
public __construct (\EntityManagerInterface $entityManager)
```

The constructor
The constructor



**Parameters**

* `(\EntityManagerInterface) $entityManager`
: The entity manager
* `(\EntityManagerInterface) $entityManager`
: The entity manager

**Return Values**

`void`


<hr />

### InstallationService::checkDataConsistency

### InstallationService::checkDataConsistency

**Description**

```php
public checkDataConsistency (void)
```

The actual code run on update and installation of this bundle
The actual code run on update and installation of this bundle



**Parameters**

Expand All @@ -53,17 +65,23 @@ The actual code run on update and installation of this bundle

`void`




<hr />

### InstallationService::install

### InstallationService::install

**Description**

```php
public install (void)
```

Every installation service should implement an install function
Every installation service should implement an install function



**Parameters**

Expand All @@ -73,17 +91,23 @@ Every installation service should implement an install function

`void`




<hr />

### InstallationService::uninstall

### InstallationService::uninstall

**Description**

```php
public uninstall (void)
```

Every installation service should implement an uninstall function
Every installation service should implement an uninstall function



**Parameters**

Expand All @@ -93,17 +117,23 @@ Every installation service should implement an uninstall function

`void`




<hr />

### InstallationService::update

### InstallationService::update

**Description**

```php
public update (void)
```

Every installation service should implement an update function
Every installation service should implement an update function



**Parameters**

Expand All @@ -113,4 +143,8 @@ Every installation service should implement an update function

`void`




<hr />

37 changes: 28 additions & 9 deletions docs/classes/Service/PetStoreService.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
# CommonGateway\PetStoreBundle\Service\PetStoreService
# CommonGateway\PetStoreBundle\Service\PetStoreService







## Methods

| Name | Description |
|------|-------------|
|[\_\_construct](#petstoreservice__construct)||
|[__construct](#petstoreservice__construct)||
|[petStoreHandler](#petstoreservicepetstorehandler)|An example handler that is triggered by an action.|

### PetStoreService::\_\_construct



### PetStoreService::__construct

**Description**

```php
__construct (void)
```





**Parameters**

`This function has no parameters.`
Expand All @@ -23,29 +36,35 @@

`void`


<hr />

### PetStoreService::petStoreHandler

### PetStoreService::petStoreHandler

**Description**

```php
public petStoreHandler (array $data, array $configuration)
```

An example handler that is triggered by an action.
An example handler that is triggered by an action.



**Parameters**

* `(array) $data`
: The data array
* `(array) $configuration`
: The configuration array
* `(array) $data`
: The data array
* `(array) $configuration`
: The configuration array

**Return Values**

`array`

> A handler must ALWAYS return an array

<hr />

0 comments on commit 101a250

Please sign in to comment.