protected function generateCustomPostTypeName()
    {
        $matches = [];
        preg_match('@(\\\\)?([\w]+)$@', get_called_class(), $matches);
        $cptName = strtolower(
            preg_replace('/(?<=\\w)(?=[A-Z])/', "-$1", $matches[2])
        );
        return $cptName;
    }