/**
  * @param Generator $generator
  * @param Slugifier $slugifier
  * @param UniDecoder $uniDecoder
  */
 public function __construct(Generator $generator, FilterInterface $slugifier, UniDecoder $uniDecoder, $filters = [])
 {
     parent::__construct($generator);
     $this->slugifier = $slugifier;
     $this->uniDecoder = $uniDecoder;
     $this->filters = $filters;
 }
 public function testMacAddress()
 {
     $this->assertRegExp('/^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$/i', Internet::macAddress());
 }
Exemple #3
0
 public function userName()
 {
     return $this->toAscii(parent::userName());
 }
Exemple #4
0
 public function domainWord()
 {
     return static::toAscii(parent::domainWord());
 }