Skip to content

Commit

Permalink
Merge pull request #13 from CommonGateway/feature/update-product-page
Browse files Browse the repository at this point in the history
Update product page
  • Loading branch information
WilcoLouwerse authored Feb 23, 2024
2 parents 59dbe5b + 043df14 commit 4f14652
Show file tree
Hide file tree
Showing 8 changed files with 618 additions and 223 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/product-page-deploy.yml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .phpdoc-md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ return (object)[
'classes' => [
'\CommonGateway\CustomerNotificationsBundle\Service\InstallationService',
'\CommonGateway\CustomerNotificationsBundle\Service\NotificationsService',
'\CommonGateway\CustomerNotificationsBundle\Service\EmailService'
'\CommonGateway\CustomerNotificationsBundle\Service\EmailService',
'\CommonGateway\CustomerNotificationsBundle\Service\SmsService'
],
];
654 changes: 455 additions & 199 deletions docs/CustomerNotificationsBundleLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/classes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
* [Service\InstallationService](Service/InstallationService.md)
* [Service\NotificationsService](Service/NotificationsService.md)
* [Service\EmailService](Service/EmailService.md)
* [Service\SmsService](Service/SmsService.md)
6 changes: 6 additions & 0 deletions docs/classes/Service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CommonGateway\CustomerNotificationsBundle

* [Service\EmailService](EmailService.md)
* [Service\InstallationService](InstallationService.md)
* [Service\NotificationsService](NotificationsService.md)
* [Service\SmsService](SmsService.md)
74 changes: 74 additions & 0 deletions docs/classes/Service/SmsService.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# CommonGateway\CustomerNotificationsBundle\Service\SmsService

Triggers sending a SMS via the Symfony Notifier.





## Methods

| Name | Description |
|------|-------------|
|[SmsHandler](#smsservicesmshandler)|Handles the sending of an sms based on an event.|
|[__construct](#smsservice__construct)||




### SmsService::SmsHandler

**Description**

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

Handles the sending of an sms based on an event.



**Parameters**

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

**Return Values**

`array`




**Throws Exceptions**


`\LoaderError|\RuntimeError|\SyntaxError|\TransportExceptionInterface`


<hr />


### SmsService::__construct

**Description**

```php
__construct (void)
```





**Parameters**

`This function has no parameters.`

**Return Values**

`void`


<hr />

42 changes: 27 additions & 15 deletions docs/footerContent.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,22 @@
"link": "/",
"icon": { "prefix": "fas", "icon": "home", "placement": "left" }
},
{
"ariaLabel": "Documentation",
"value": "Documentation",
"link": "https://commongateway.readthedocs.io/en/latest/",
"icon": { "prefix": "fab", "icon": "readthedocs", "placement": "left" }
},
{
"ariaLabel": "Slack",
"value": "Slack",
"link": "#",
"icon": { "prefix": "fab", "icon": "slack", "placement": "left" }
},
{
"ariaLabel": "Github",
"value": "Github",
"link": "https://github.com/CommonGateway/CoreBundle",
"link": "https://github.com/commonGateway/customerNotificationsBundle",
"icon": { "prefix": "fab", "icon": "github", "placement": "left" }
}
]
},
{
"title": "Classes",
"title": "Services",
"items": [
{
"ariaLabel": "Readme",
"value": "Readme",
"internalMarkdown": {
"directoryName": "Classes",
"directoryName": "Service",
"fileName": "README"
}
},
Expand All @@ -46,6 +34,30 @@
"directoryName": "Service",
"fileName": "EmailService"
}
},
{
"ariaLabel": "InstallationService",
"value": "InstallationService",
"internalMarkdown": {
"directoryName": "Service",
"fileName": "InstallationService"
}
},
{
"ariaLabel": "NotificationsService",
"value": "NotificationsService",
"internalMarkdown": {
"directoryName": "Service",
"fileName": "NotificationsService"
}
},
{
"ariaLabel": "SmsService",
"value": "SmsService",
"internalMarkdown": {
"directoryName": "Service",
"fileName": "SmsService"
}
}
]
},
Expand Down
47 changes: 43 additions & 4 deletions docs/navbarContent.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
}
},
{
"label": "Classes",
"label": "Services",
"current": {
"pathname": "/Classes"
"pathname": "/Service"
},
"subItems": [
{
"label": "README",
"type": "internalMarkdown",
"current": {
"pathname": "/Classes/README"
"pathname": "/Service/README"
},
"handleClick": {
"internalMarkdown": {
"directoryName": "Classes",
"directoryName": "Service",
"fileName": "README"
}
}
Expand All @@ -40,6 +40,45 @@
"fileName": "EmailService"
}
}
},
{
"label": "InstallationService",
"type": "internalMarkdown",
"current": {
"pathname": "/Service/InstallationService"
},
"handleClick": {
"internalMarkdown": {
"directoryName": "Service",
"fileName": "InstallationService"
}
}
},
{
"label": "NotificationsService",
"type": "internalMarkdown",
"current": {
"pathname": "/Service/NotificationsService"
},
"handleClick": {
"internalMarkdown": {
"directoryName": "Service",
"fileName": "NotificationsService"
}
}
},
{
"label": "SmsService",
"type": "internalMarkdown",
"current": {
"pathname": "/Service/SmsService"
},
"handleClick": {
"internalMarkdown": {
"directoryName": "Service",
"fileName": "SmsService"
}
}
}
]
}
Expand Down

0 comments on commit 4f14652

Please sign in to comment.