protected function getChildRelationNameForParent($parent, $child)
    {
        // Try model plural name
        $manyName = model_relation_name($child, 'many');

        if (method_exists($parent, $manyName)) {
            return $manyName;
        }

        // Try model singular name
        $oneName = model_relation_name($child, 'one');

        if (method_exists($parent, $oneName)) {
            return $oneName;
        }
    }