Commit graph

14 commits

Author SHA1 Message Date
e9c2f2a2b0 Replace tightenco/collect with illuminate/collections
Fixes #417
2021-04-23 14:51:51 +01:00
0c1321fed5 Add TalkCollection, move logic for getting events
Add a `TalkCollection` which extends Laravel/Tighten's, and add a method
there for getting the events from the talks. This makes this logic more
reusable and also makes the code in the `TalkCounter` service simpler.
2021-02-11 08:53:16 +00:00
1f0926ac16 Extract a method for providing default properties and values 2021-02-11 08:53:16 +00:00
abe0f3d93b Rename getAll to findAll, remove published argument 2021-02-11 08:53:16 +00:00
afc0a0e448 Inject the TalkRepository into TalkCounter 2021-02-11 08:53:16 +00:00
43455d5ae1 Auto-configure event subscribers
References #347
2021-01-14 00:45:58 +00:00
53ab326415 Auto-configure services and repositories
Enable the auto-configuration of service and repository classes,
including support for classes in subdirectories by using
`getRelativePathname()` rather than `getFilename()` and making some
additional changes to the result.

References #347
2021-01-14 00:44:30 +00:00
509d526661 Update the Collection namespace 2020-12-17 23:42:20 +00:00
a656280e7b Extract helper methods 2020-11-10 20:25:07 +00:00
06c3da1880 Add public constants for field names
Make it easier and safer when referencing field names by adding public
constants for them to the Talk and Post classes.
2020-11-10 19:34:15 +00:00
0f01551f26 Update Hook Event Dispatcher module
- Update the Hook Event Dispatcher module from `8.x-1.29` to `8.x-2.02`.
- Update custom modules after breaking changes from upgrading.

References #112
2020-09-06 12:15:59 +01:00
596ee4979d Fix PHPCS issues 2020-09-04 22:20:30 +01:00
98fba9306f Fix PHPStan issues 2020-09-04 22:20:30 +01:00
cbe60209e6 Rename custom module directories
- Rename `opdavies_blog` to `blog`.
- Rename `opdavies_blog_test` to `blog_test`.
- Rename `opdavies_talks` to `talks`.
- Rename `opdavies_talks_test` to `talks_test`.

The files within the directories haven't changed, so there is no
breaking change caused by renaming the directories.

 Please enter the commit message for your changes. Lines starting
2020-09-04 21:25:36 +01:00