Пример #1
0
 /**
  * Test that ssn() formats a number to a social security number.
  */
 public function testSsn()
 {
     $this->assertEquals('998-29-3841', Format::ssn('998293841', '###-##-####'));
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public static function ssn($value, $format = null)
 {
     return parent::ssn($value, self::get('ssn', $format));
 }