PHP Class Elcodi\Plugin\TwitterBundle\Services\TwitterUsernameCleaner

Mostra file Open project: elcodi/bamboo Class Usage Examples

Public Methods

Method Description
clean ( string $twitterUsername ) : string Cleans a twitter username to save only the username without the '@'

Method Details

clean() public method

Cleans a twitter username to save only the username without the '@'
public clean ( string $twitterUsername ) : string
$twitterUsername string The twitter url or username
return string A twitter username