public function addSchemaToClassBottom($domainClass, $actionSchema)
    {
        $lastClassBracketIdx = $this->getLastCurlBracketPositionFromClass($domainClass);

        $domainClass = substr_replace($domainClass, $actionSchema, $lastClassBracketIdx);
        $domainClass .= "\n}";

        return $domainClass;
    }