lithium\console\command\Create::_template PHP Method

_template() protected method

Returns the contents of the template.
protected _template ( ) : string
return string
    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);
    }