/** * @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()); }
public function userName() { return $this->toAscii(parent::userName()); }
public function domainWord() { return static::toAscii(parent::domainWord()); }