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
<?php

class FlavioLaino
{
    const JOB = 'full stack developer';

    const STARTING_AT = 2003;

    const PREVIOUS_COMPANIES = [
        'Gag s.r.l.' => 'full stack developer',
        'One Italia s.p.a.' => 'php developer',
        'Il Messaggero s.p.a.' => 'dtp',
        'Giroal srl' => 'web manager'
    ];

    public $experience;

    public $currentCompany = ['Immobiliare.it' => 'full stack developer'];
    public $skills = [];

    public $personalLinks = [
        'site' => 'http://www.flaviolaino.it',
        'linkedin' => 'http://it.linkedin.com/in/flaviolaino'
    ];

    public function __construct()
    {
        $this->experience = date('Y') - self::STARTING_AT;
        $this->setSkill();
    }

    private function setSkill()
    {
        $this->skills[] = ['PHP' => 'senior'];
        $this->skills[] = ['OOP' => 'senior'];
        $this->skills[] = ['MySql' => 'senior'];
        $this->skills[] = ['JS' => 'senior'];
        $this->skills[] = ['HTML 5' => 'senior'];
        $this->skills[] = ['API Rest' => 'senior'];
        $this->skills[] = ['jQuery' => 'senior'];
        $this->skills[] = ['Bootstrap' => 'senior'];
        $this->skills[] = ['GIT' => 'mid'];
        $this->skills[] = ['Symfony' => 'mid'];
        $this->skills[] = ['AWS' => 'mid'];
        $this->skills[] = ['CSS 3' => 'mid'];
        $this->skills[] = ['Node.js' => 'mid'];
        $this->skills[] = ['MongoDB' => 'junior'];
        $this->skills[] = ['ReactJs' => 'junior'];
        $this->skills[] = ['Bash' => 'junior'];
    }

    public function contactMe(string $yourText = ''): boolean
    {
        $atSign = '@';
        return mail("info{$atSign}flaviolaino.it", 'Info', $yourText);
    }

    public function __invoke($remuneration = null): boolean
    {
        if (empty($remuneration)) {
            return false;
        } else if ((int)$remuneration < 0) {
            sleep(5);
            return false;
        } else {
            return true;
        }
    }
}