Illuminate\Foundation\Console\TestMakeCommand::getPath PHP Method

getPath() protected method

Get the destination class path.
protected getPath ( string $name ) : string
$name string
return string
    protected function getPath($name)
    {
        $name = str_replace_first($this->rootNamespace(), '', $name);
        return $this->laravel->basePath() . '/tests' . str_replace('\\', '/', $name) . '.php';
    }