src/Translatable.php
public function translateOrNew($locale)
    {

        if (is_null($instance = $this->translate($locale))) {
            return $this->newModelInstance();
        }

        return $instance;

    }
public function translateOrNew($locale)
    {

        if (is_null($instance = $this->translate($locale))) {
            return $this->newModelInstance();
        }

        return $instance;

    }
public function translateOrNew ( $ locale ) { if ( is_null ( $ instance = $ this -> translate ( $ locale ) ) ) { return $ this -> newModelInstance ( ) ; } return $ instance ; }
Get a collection of translated attributes in provided locale or create new one.

@param $locale
@return \Laraplus\Data\TranslationModel
Get a collection of translated attributes in provided locale or create new one .