Commit b4dd5830 authored by Jens Segers's avatar Jens Segers

Add back freshTimestamp

parent d9760faa
......@@ -199,6 +199,16 @@ abstract class Model extends BaseModel {
return $this->dateFormat ?: 'Y-m-d H:i:s';
}
/**
* Get a fresh timestamp for the model.
*
* @return MongoDate
*/
public function freshTimestamp()
{
return new MongoDate;
}
/**
* Get the table associated with the model.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment