Example #1
0
 /**
  * Generates new line char.
  *
  * @param int $count
  * @param int $nls
  *
  * @return string
  */
 function infy_nls($count, $nls = 1)
 {
     return str_repeat(infy_nl($nls), $count);
 }
 public function generate()
 {
     $this->menuContents .= $this->menuTemplate . infy_nl();
     file_put_contents($this->path, $this->menuContents);
     $this->commandData->commandComment("\n" . $this->commandData->config->mCamelPlural . ' menu added.');
 }