public function parseSourceAttributes()
    {
        $attributes = [];

        foreach ($this->translations as $translation)
        {
            $attributes[$translation->locale] = $translation->source->toArray();
        }

        return $attributes;
    }
public function parseSourceAttributes()
    {
        $attributes = [];

        foreach ($this->translations as $translation)
        {
            $attributes[$translation->locale] = $translation->source->toArray();
        }

        return $attributes;
    }
public function parseSourceAttributes ( ) { $ attributes = [ ] ; foreach ( $ this -> translations as $ translation ) { $ attributes [ $ translation -> locale ] = $ translation -> source -> toArray ( ) ; } return $ attributes ; }
Parses source attributes

@return array
Parses source attributes