src/services/WordsmithService.php
public function readTime($s, $rate = 200, $minimum = 1)
	{
		$words = $this->wordcount($s);
		return max( intval($minimum), floor($words / intval($rate)) );
	}
public function readTime($s, $rate = 200, $minimum = 1)
	{
		$words = $this->wordcount($s);
		return max( intval($minimum), floor($words / intval($rate)) );
	}
Calculates the units of time required for an average person to read the given passage of text.

// TODO: Add label and inflection

@param string $s
@param int $rate
@param int $minimum
@return mixed