Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding profile for Hugh Lashbrooke #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions src/Profiles/HughLashbrookeProfile.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?php

namespace mostertb\PHPSA2017Profiles\Profiles;

use mostertb\PHPSA2017Profiles\Abstracts\AbstractProfile;

class HughLashbrookeProfile extends AbstractProfile
{
/**
* Provides the full name of the person that the bio is about
*
* @return string
*/
public function getName() {
return 'Hugh Lashbrooke';
}

/**
* Provides a paragraph of text about the person that the profile is about
*
* @return string
*/
public function getBiography() {
return 'Hugh is a Community Manager for the global WordPress community where he spends most of his time helping people build open-source communities in their home towns.';
}

/**
* Should return a publicly accessible URL to an image of the person that the bio is about.
*
* @return null|string
*/
public function getProfileImageURL() {
return 'https://avatars1.githubusercontent.com/u/1543143';
}

/**
* Should return the GitHub username of the person the bio is about. This is used to generate links to the person's
* OpenSource projects
*
* @return string
*/
public function getGitHubUsername() {
return 'hlashbrooke';
}

/**
* Optional function that should return an array of OpenSource projects maintained by this person.
* The index should contain the name of the project and the value should be a url to the project's homepage (typically
* a GitHub page)
*
* @return array
*/
public function getMaintainedProjects() {
return [
'WordPress Plugin Template' => 'https://github.com/hlashbrooke/WordPress-Plugin-Template',
];
}

/**
* Optional function that should return an array of OpenSource projects to which this person has contributed (or at least
* recommends). The index should contain the name of the project and the value should be a url to the project's
* homepage (typically a GitHub page)
*
* @return array
*/
public function getInvolvedProjects() {
return [
'WordPress' => 'https://github.com/wordpress/wordpress',
'Seriously Simple Podcasting' => 'https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting',
'WooCommerce' => 'https://github.com/automattic/woocommerce',
];
}
}