Skip to content

Instantly share code, notes, and snippets.

Avatar

Prapat Shantavasinkul prapats

  • Bangkok, Thailand
View GitHub Profile
View Car.js
'use strict'
class Car {
constructor(driver) {
this.driver = driver
}
run() {
this.driver.drive()
View Model_v2.php
<?php
class EducationDetail extends Model{
fatherEducationLevel{
return $this->belongsToOne('EducationLevel');
}
motherEducationLevel{
return $this->belongsToOne('EducationLevel');
View Model.php
<?php
class EducationDetail extends Model{
fatherEducationLevel{
return $this->belongsToOne('EducationLevel');
}
motherEducationLevel{
return $this->belongsToOne('EducationLevel');
You can’t perform that action at this time.