src/Readability.php
private function isValidByline($text)
    {
        if (gettype($text) == 'string') {
            $byline = trim($text);

            return (mb_strlen($byline) > 0) && (mb_strlen($byline) < 100);
        }

        return false;
    }
private function isValidByline($text)
    {
        if (gettype($text) == 'string') {
            $byline = trim($text);

            return (mb_strlen($byline) > 0) && (mb_strlen($byline) < 100);
        }

        return false;
    }
private function isValidByline ( $ text ) { if ( gettype ( $ text ) == 'string' ) { $ byline = trim ( $ text ) ; return ( mb_strlen ( $ byline ) > 0 ) && ( mb_strlen ( $ byline ) < 100 ) ; } return false ; }
Checks the validity of a byLine. Based on string length.

@param string $text

@return bool
Checks the validity of a byLine . Based on string length .