Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @param int    $id
  * @param string $word
  * @param string $lang
  */
 public function __construct($id, $word, $lang)
 {
     parent::__construct($word, $lang, null);
     $this->id = $id;
     $this->nbLetters = $this->nbLetters();
     $this->complexity = $this->complexity();
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @param  null|string|array|\Zend\Config\Config $options
  * @return void
  */
 public function __construct($options = null)
 {
     parent::__construct($options);
     $this->_figlet = new \Zend\Text\Figlet\Figlet($options);
 }
Ejemplo n.º 3
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct(null);
 }