lithium\console\command\Create::_template()

protected method

Returns the contents of the template.

Returns

string

Source

	protected function _template() {
		$file = Libraries::locate('command.create.template', $this->template, array(
			'filter' => false, 'type' => 'file', 'suffix' => '.txt.php'
		));
		if (!$file || is_array($file)) {
			return false;
		}
		return file_get_contents($file);
	}