Exemplo n.º 1
0
 public function __construct($name, $args)
 {
     setlocale(LC_ALL, 'en_US.UTF8');
     $this->name = $name;
     $this->slug = StringUtil::toAscii($name);
     $this->args = $args;
 }
Exemplo n.º 2
0
 public function __construct($name, $clientSlug, $args)
 {
     setlocale(LC_ALL, 'en_US.UTF8');
     $this->name = $name;
     $this->slug = StringUtil::toAscii($name);
     $this->clientSlug = StringUtil::toAscii($clientSlug);
     $this->args = $args;
     $this->lines = new ArrayCollection();
     $this->loggers = new ArrayCollection();
 }
Exemplo n.º 3
0
 public function setName($name)
 {
     $this->name = $name;
     $this->slug = StringUtil::toAscii($name);
 }