lumen-generators/templates/model/relation-with-timestamps.wnt

5 lines
91 B
Plaintext
Raw Normal View History

2015-10-06 22:41:40 +01:00
public function {{name}}()
{
return $this->{{type}}("{{model}}")->withTimestamps();
}