Skip to content

Commit

Permalink
Refactor MetaTitle: clear docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilan-riviere committed Jun 1, 2024
1 parent 59839e3 commit 3c3d273
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Models/MetaTitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

/**
* Convert eBook title and metadata to a slug.
*
* @method string getSlug() Get slug of book title with addional metadata, like `lord-of-the-rings-01-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
* @method string getSlugSimple() Get simple slug of book title, like `the-fellowship-of-the-ring`.
* @method string getSeriesSlug() Get slug of serie title, like `lord-of-the-rings-j-r-r-tolkien-epub-en`.
* @method string getSeriesSlugSimple() Get simple slug of serie title, like `the-lord-of-the-rings`.
*/
class MetaTitle
{
Expand Down Expand Up @@ -417,7 +412,7 @@ private function parse(): static
}

/**
* Get slug of book title with addional metadata, like `lord-of-the-rings-01-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
* Get slug of book title with addional metadata, like `lord-of-the-rings-001-fellowship-of-the-ring-j-r-r-tolkien-1954-epub-en`.
*
* - Remove determiners, here `The`
* - Add serie title, here `Lord of the Rings`
Expand Down

0 comments on commit 3c3d273

Please sign in to comment.