Amranidev\ScaffoldInterface\Filesystem\Path::editPath PHP Method

editPath() public method

Get edit file path.
public editPath ( ) : string
return string
    public function editPath()
    {
        return config('amranidev.config.views') . '/' . $this->parser->singular() . '/' . 'edit.blade.php';
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Generate edit.
  *
  * @return void
  */
 public function edit()
 {
     $this->make($this->paths->editPath(), $this->view->generateEdit());
 }