protected function getContractName($name = null)
    {
        $name = isset($name) ? $name : $this->resource;

        $name = str_singular(ucwords(camel_case(class_basename($name))));

        return $name . config('generators.settings.contract.postfix');
    }