protected $type = [ 'hiredate'=>'timestamp' ] in Teacker model;
夏森
夏森 2018-05-08 21:57:16
0
1
1655

protected $type = [

'hiredate'=>'timestamp'

];

What does this paragraph mean?

夏森
夏森

reply all(1)
猪哥

should define an array attribute of the class that can be accessed by subclasses

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template