1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
/** * Project: Andrés Bedoya's resume * **/
namespace App; use Carbon\Carbon; use App\Models\Education; use App\Models\Job; use App\Models\Language; use App\Models\Framework; use App\Models\Idiom; /** * Class AndresBedoya holds the main information of this resume. * All the information about Andrés Bedoya required to check if * the guy is good for the job. **/ class AndresBedoya { protected $fillable = [ 'first_name', 'last_name', 'email', 'birth_date', 'citizenship' ]; /** * Class constructor */ public function __construct() { $this->first_name = 'Andrés'; $this->last_name = 'Bedoya'; $this->email = 'andres@bedoya.co'; $this->website = 'https://bedoya.co'; $this->birth_date = Carbon::createFromFormat( 'Y-m-d', '1976-02-08' ); $this->citizenship = 'Colombian'; } /** * Creates the relationship between Andrés Bedoya and his education * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function courses() { return $this->hasMany( Education::class ); } /** * Creates the relationship between Andrés Bedoya and his previous * jobs in programming * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function jobs() { return $this->hasMany( Job::class ); } /** * Creates the relationship between Andrés Bedoya and his known * programming languages * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function languages() { return $this->hasMany( Language::class ); } /** * Creates the relationship between Andrés Bedoya and his previously * used frameworks * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function frameworks() { return $this->hasMany( Framework::class ); } /** * Creates the relationship between Andrés Bedoya and his spoken * languages * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function idioms() { return $this->hasMany( Idiom::class ); } }
Andrés Bedoya
Click any of the methods
this will bring the requested information about Andrés into this card.