public function getOwnedAreaRelationName()
    {
        $has_one = $this->config()->get('has_one');

        foreach ($has_one as $relationName => $relationClass) {
            if ($relationClass === ElementalArea::class && $relationName !== 'Parent') {
                return $relationName;
            }
        }

        return 'Elements';
    }
public function getOwnedAreaRelationName()
    {
        $has_one = $this->config()->get('has_one');

        foreach ($has_one as $relationName => $relationClass) {
            if ($relationClass === ElementalArea::class && $relationName !== 'Parent') {
                return $relationName;
            }
        }

        return 'Elements';
    }
public function getOwnedAreaRelationName ( ) { $ has_one = $ this -> config ( ) -> get ( 'has_one' ) ; foreach ( $ has_one as $ relationName => $ relationClass ) { if ( $ relationClass === ElementalArea :: class && $ relationName !== 'Parent' ) { return $ relationName ; } } return 'Elements' ; }
Retrieve a elemental area relation name which this element owns

@return string
Retrieve a elemental area relation name which this element owns