You are here

public function BrazilianIdsServiceInterface::formatCpf in Brazilian IDs 8

Formats a CPF number like 999.999.999-99.

Parameters

string $value: The CPF number to be formatted.

Return value

string The formatted CPF number.

1 method overrides BrazilianIdsServiceInterface::formatCpf()
BrazilianIdsService::formatCpf in src/BrazilianIdsService.php
Formats a CPF number like 999.999.999-99.

File

src/BrazilianIdsServiceInterface.php, line 66

Class

BrazilianIdsServiceInterface
Defines the interface of the Brazilian IDs service.

Namespace

Drupal\brazilian_ids

Code

public function formatCpf($value);