示例#1
0
文件: Email.php 项目: mauris/samsui
 public function address()
 {
     $fetcher = new Fetcher();
     $resource = $fetcher->fetch('email');
     $loader = new ResourceLoader($this->generator);
     return $loader->load($resource);
 }
示例#2
0
文件: Url.php 项目: mauris/samsui
 public function domain()
 {
     $fetcher = new Fetcher();
     $resource = $fetcher->fetch('urls.domain');
     $loader = new ResourceLoader($this->generator);
     return $loader->load($resource);
 }
示例#3
0
文件: Address.php 项目: mauris/samsui
 public function block()
 {
     $resource = $this->generator->locale->fetch('address.block');
     $loader = new ResourceLoader($this->generator);
     return $loader->load($resource);
 }
示例#4
0
 public function countryCode()
 {
     $resource = $this->generator->locale->fetch('telephone.country');
     $loader = new ResourceLoader($this->generator);
     return $loader->load($resource);
 }