protected static function extractDescription($token)
    {
        $parts = preg_split('/\s+:\s+/', trim($token), 2);

        return count($parts) === 2 ? $parts : [$token, null];
    }
protected static function extractDescription($token)
    {
        $parts = preg_split('/\s+:\s+/', trim($token), 2);

        return count($parts) === 2 ? $parts : [$token, null];
    }
protected static function extractDescription ( $ token ) { $ parts = preg_split ( '/\s+:\s+/' , trim ( $ token ) , 2 ) ; return count ( $ parts ) === 2 ? $ parts : [ $ token , null ] ; }
Parse the token into its token and description segments.

@param string $token

@return array
Parse the token into its token and description segments .