From d3a83588165daf6094eac786eb2e48d2b6f8285e Mon Sep 17 00:00:00 2001 From: Dave Smith-Hayes Date: Mon, 11 Nov 2024 14:04:05 +0000 Subject: [PATCH] start the channel module. --- app/src/Domain/Entity/Episode.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app/src/Domain/Entity/Episode.php diff --git a/app/src/Domain/Entity/Episode.php b/app/src/Domain/Entity/Episode.php new file mode 100644 index 0000000..5a5e290 --- /dev/null +++ b/app/src/Domain/Entity/Episode.php @@ -0,0 +1,31 @@ +duration = $this->parseDuration($this->length); + } + + /** + * @TODO Figure out how to parse second to HH:MM:SS + */ + protected function parseDuration(int $length): string + { + + return ""; + } +}