示例#1
0
 public function __construct($name, $args)
 {
     setlocale(LC_ALL, 'en_US.UTF8');
     $this->name = $name;
     $this->slug = String::toAscii($name);
     $this->args = $args;
 }
示例#2
0
 public function setName($name)
 {
     $this->name = $name;
     $this->slug = String::toAscii($name);
 }