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

5 lines
91 B
Plaintext
Raw Normal View History

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