public function prepare($key, $value, $schema = null)
    {
        if ($this->collection) {
            return $this->collection->prepare($key, $value, $schema);
        } else {
            return $value;
        }
    }
public function prepare($key, $value, $schema = null)
    {
        if ($this->collection) {
            return $this->collection->prepare($key, $value, $schema);
        } else {
            return $value;
        }
    }
public function prepare ( $ key , $ value , $ schema = null ) { if ( $ this -> collection ) { return $ this -> collection -> prepare ( $ key , $ value , $ schema ) ; } else { return $ value ; } }
Prepare model to be sync'd.

@method prepare

@param string $key
@param string $value
@param mixed  $schema

@return [type]
Prepare model to be sync d .