/** * 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(); }
/** * 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); }
/** * Constructor * */ public function __construct() { parent::__construct(null); }