protected function replaceResourceType(&$stub)
    {
        $resource = $this->getResourceName();
        $stub = str_replace('dummyResourceType', Str::dasherize($resource), $stub);

        return $this;
    }