PHP Class Elcodi\Plugin\TwitterBundle\Services\TwitterUsernameCleaner

ファイルを表示 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