src/Translatable.php
public function fresh($with = [])
    {
        if (!$this->exists) {
            return;
        }

        $query = static::newQueryWithoutScopes()
            ->with(is_string($with) ? func_get_args() : $with)
            ->where($this->getKeyName(), $this->getKey());

        (new TranslatableScope())->apply($query, $this);

        return $query->first();
    }
public function fresh($with = [])
    {
        if (!$this->exists) {
            return;
        }

        $query = static::newQueryWithoutScopes()
            ->with(is_string($with) ? func_get_args() : $with)
            ->where($this->getKeyName(), $this->getKey());

        (new TranslatableScope())->apply($query, $this);

        return $query->first();
    }
public function fresh ( $ with = [ ] ) { if ( ! $ this -> exists ) { return ; } $ query = static :: newQueryWithoutScopes ( ) -> with ( is_string ( $ with ) ? func_get_args ( ) : $ with ) -> where ( $ this -> getKeyName ( ) , $ this -> getKey ( ) ) ; ( new TranslatableScope ( ) ) -> apply ( $ query , $ this ) ; return $ query -> first ( ) ; }
Reload a fresh model instance from the database.

@param  array|string $with
@return static|null
Reload a fresh model instance from the database .