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');
    }
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');
    }
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' ) ; }
Get the name of the contract
@param null $name
@return string
Get the name of the contract