mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Merge pull request #214 from akuzemchak/develop
Allow timestamp method to be extended
This commit is contained in:
commit
59fcd67637
@ -413,7 +413,7 @@ abstract class Model {
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function timestamp()
|
||||
protected function timestamp()
|
||||
{
|
||||
$this->updated_at = date('Y-m-d H:i:s');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user