Ejemplo n.º 1
0
 public function values()
 {
     $faker = $this->getFaker();
     return array_merge(parent::values(), ['string' => $faker->word, 'md5' => $faker->md5, 'sha1' => $faker->sha1, 'sha256' => $faker->sha256]);
 }
Ejemplo n.º 2
0
 public function values()
 {
     $faker = $this->getFaker();
     return array_merge(parent::values(), ['string-word-only' => $faker->word, 'string-path-only' => implode('/', $faker->words)]);
 }
Ejemplo n.º 3
0
 public function values()
 {
     return $this->notNull(parent::values());
 }
Ejemplo n.º 4
0
 public function values()
 {
     $faker = $this->getFaker();
     $date = $faker->dateTime;
     return array_merge(parent::values(), ['string' => $faker->word, DATE_ISO8601 => $date->format(DATE_ISO8601), DATE_COOKIE => $date->format(DATE_COOKIE), DATE_RFC822 => $date->format(DATE_RFC822), DATE_RFC850 => $date->format(DATE_RFC850), DATE_RFC1036 => $date->format(DATE_RFC1036), DATE_RFC1123 => $date->format(DATE_RFC1123), DATE_RFC2822 => $date->format(DATE_RFC2822), DATE_RSS => $date->format(DATE_RSS)]);
 }