public function make($path, $template)
    {
        $this->name = basename($path, '.php');
        $this->path = $this->getPath($path);
        $template = $this->getTemplate($template, $this->name);

        if (! $this->file->exists($this->path))
        {
            return $this->file->put($this->path, $template) !== false;
        }

        return false;
    }
public function make($path, $template)
    {
        $this->name = basename($path, '.php');
        $this->path = $this->getPath($path);
        $template = $this->getTemplate($template, $this->name);

        if (! $this->file->exists($this->path))
        {
            return $this->file->put($this->path, $template) !== false;
        }

        return false;
    }
public function make ( $ path , $ template ) { $ this -> name = basename ( $ path , '.php' ) ; $ this -> path = $ this -> getPath ( $ path ) ; $ template = $ this -> getTemplate ( $ template , $ this -> name ) ; if ( ! $ this -> file -> exists ( $ this -> path ) ) { return $ this -> file -> put ( $ this -> path , $ template ) !== false ; } return false ; }
Compile template and generate

@param  string $path
@param  string $template Path to template
@return boolean
Compile template and generate