Commit graph

8 commits

Author SHA1 Message Date
Mike Colagrosso
2098b265a8 Rename the constructor Ebook::__construct() to static Ebook::FromFilesystem()
Also added `GetFoo()` methods for all the derived properties like `GetUrl()`, `GetHasDownloads()`, etc. Removed that logic from the constructor so that it's reusable in `Ebook::FromFilesystem()` and `Ebook::GetByIdentifier()`
2024-11-04 13:16:56 -06:00
Alex Cabal
c4c8e7353f Enable strict exception type hint checking in PHPStan and add exception type hints 2024-05-10 20:47:36 -05:00
Alex Cabal
783c09864f Add type hints for remaining classes 2024-01-08 16:08:57 -06:00
Alex Cabal
dbefba6b94 Change 'timestamp' properties on objects to more descriptive names 2022-06-29 17:19:28 -05:00
Alex Cabal
25c40e3e67 Add link to Github for each commit in an ebooks short commit history 2020-06-03 12:01:09 -05:00
Alex Cabal
bef5aea7ad Add type hints and some other tweaks to satisfy PHPStan 2020-03-01 11:36:20 -06:00
Alex Cabal
def275ab3c Remove closing tags from pure PHP files 2019-04-03 16:25:00 -05:00
Alex Cabal
28c8a3f0ba Initial commit 2018-12-29 16:02:00 -06:00