Skip to content
View ricardomartos's full-sized avatar
✔️
Alive
✔️
Alive

Block or report ricardomartos

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ricardomartos/README.md
<?php

class DeveloperProfile {
    public readonly string $name;
    public readonly string $role;
    public readonly array $skills;

    public function __construct(
        string $name = "Ricardo",
        string $role = "PHP Backend Developer",
        array $skills = ["PHP", "Laravel", "API Development", "Backend Architecture", "SQL", "UNIX"]
    ) {
        $this->name = $name;
        $this->role = $role;
        $this->skills = $skills;
    }

    public function getProfile(): array {
        return [
            'Name' => $this->name,
            'Role' => $this->role,
            'Skills' => implode(", ", $this->skills)
        ];
    }
}

$me = new DeveloperProfile();

var_dump($me->getProfile());

?>

Popular repositories Loading

  1. audit-laravel audit-laravel Public

    PHP 1

  2. vim-setup vim-setup Public

    Vim Script

  3. tmux-setup tmux-setup Public

  4. laravel-5.5 laravel-5.5 Public

    PHP

  5. material-webpack material-webpack Public

    PHP

  6. laravel-auditable laravel-auditable Public

    Forked from yajra/laravel-auditable

    Basic Auditable package for Eloquent Model.

    PHP