src/Training/Generators/AddressGenerator.php
/**
     * @return Address
     * @throws \Training\Exceptions\ValidatorException
     */
@return Address
@throws \Training\Exceptions\ValidatorException
@return Address @throws \ Training \ Exceptions \ ValidatorException
public static function randomGenerate() {
        $faker = self::getFaker();
        $address = new Address(
            $faker->streetName,
            $faker->buildingNumber,
            $faker->city,
            $faker->postcode,
            $faker->state,
            "Brasil"
        );
        return $address;
    }
public static function randomGenerate ( ) { $ faker = self :: getFaker ( ) ; $ address = new Address ( $ faker -> streetName , $ faker -> buildingNumber , $ faker -> city , $ faker -> postcode , $ faker -> state , " Brasil " ) ; return $ address ; }
@return Address
 @throws \Training\Exceptions\ValidatorException
@return Address @throws \ Training \ Exceptions \ ValidatorException