classes/Input/Localize.php
public function item($item)
    {
        if (!$this->model) {
            $this->model = get_class($item);
        }

        $this->item = $item;

        return $this;
    }
public function item($item)
    {
        if (!$this->model) {
            $this->model = get_class($item);
        }

        $this->item = $item;

        return $this;
    }
public function item ( $ item ) { if ( ! $ this -> model ) { $ this -> model = get_class ( $ item ) ; } $ this -> item = $ item ; return $ this ; }
Store a model instance

@param  Illuminate\Database\Eloquent\Model $item
@return $this
Store a model instance