@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Tag; |
| 4 | 4 | |
| 5 | -interface TagRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface TagRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function findTagByTitle($title); |
| 8 | 8 | public function getAllTags(); |
| 9 | 9 | public function getTagCloud(); |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Blog\Introduction; |
| 4 | 4 | |
| 5 | -interface IntroductionRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface IntroductionRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function findByType($type, $value = ''); |
| 8 | 8 | } |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Stream\Changelog; |
| 4 | 4 | |
| 5 | -interface ChangelogRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface ChangelogRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function getChanges($limit = null, $offset = 0); |
| 8 | 8 | } |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Jacobemerick\Web\Domain\Stream\Activity; |
| 4 | 4 | |
| 5 | -interface ActivityRepositoryInterface |
|
| 6 | -{ |
|
| 5 | +interface ActivityRepositoryInterface |
|
| 6 | +{
|
|
| 7 | 7 | public function getActivityById($id); |
| 8 | 8 | public function getActivities($limit = null, $offset = 0); |
| 9 | 9 | public function getActivitiesCount(); |
@@ -2,11 +2,11 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | Loader::load('router', 'Router'); |
| 4 | 4 | |
| 5 | -class LifestreamRouter extends Router |
|
| 6 | -{ |
|
| 5 | +class LifestreamRouter extends Router |
|
| 6 | +{
|
|
| 7 | 7 | |
| 8 | - protected function get_redirect_array() |
|
| 9 | - { |
|
| 8 | + protected function get_redirect_array() |
|
| 9 | + {
|
|
| 10 | 10 | return array( |
| 11 | 11 | (object) array( |
| 12 | 12 | 'pattern' => '@/index.(html|htm|php)$@', |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | 'replace' => '/')); |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | - protected function get_direct_array() |
|
| 35 | - { |
|
| 34 | + protected function get_direct_array() |
|
| 35 | + {
|
|
| 36 | 36 | return array( |
| 37 | 37 | (object) array( |
| 38 | 38 | 'match' => '/', |
@@ -2,19 +2,19 @@ |
||
| 2 | 2 | |
| 3 | 3 | Loader::load('router', 'Router'); |
| 4 | 4 | |
| 5 | -class AJAXRouter extends Router |
|
| 6 | -{ |
|
| 5 | +class AJAXRouter extends Router |
|
| 6 | +{
|
|
| 7 | 7 | |
| 8 | - protected function get_redirect_array() |
|
| 9 | - { |
|
| 8 | + protected function get_redirect_array() |
|
| 9 | + {
|
|
| 10 | 10 | return array( |
| 11 | 11 | (object) array( |
| 12 | 12 | 'pattern' => '@^/$@', |
| 13 | 13 | 'replace' => 'https://home.jacobemerick.com/')); |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | - protected function get_direct_array() |
|
| 17 | - { |
|
| 16 | + protected function get_direct_array() |
|
| 17 | + {
|
|
| 18 | 18 | return array( |
| 19 | 19 | (object) array( |
| 20 | 20 | 'match' => '/get/portfolioImage.json', |
@@ -5,11 +5,11 @@ discard block |
||
| 5 | 5 | 'waterfall/WaterfallCollector')); |
| 6 | 6 | Loader::load('router', 'Router'); |
| 7 | 7 | |
| 8 | -class WaterfallRouter extends Router |
|
| 9 | -{ |
|
| 8 | +class WaterfallRouter extends Router |
|
| 9 | +{
|
|
| 10 | 10 | |
| 11 | - protected function get_redirect_array() |
|
| 12 | - { |
|
| 11 | + protected function get_redirect_array() |
|
| 12 | + {
|
|
| 13 | 13 | return array( |
| 14 | 14 | (object) array( |
| 15 | 15 | 'pattern' => '@/index.(html|htm|php)$@', |
@@ -71,8 +71,8 @@ discard block |
||
| 71 | 71 | ); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - protected function check_for_special_redirect($uri) |
|
| 75 | - { |
|
| 74 | + protected function check_for_special_redirect($uri) |
|
| 75 | + {
|
|
| 76 | 76 | if (preg_match('@^/falls/([a-z\'-]+)(/?)$@', $uri, $matches)) { |
| 77 | 77 | $alias = $matches[1]; |
| 78 | 78 | $alias = str_replace("'", '', $alias); |
@@ -128,8 +128,8 @@ discard block |
||
| 128 | 128 | return $uri; |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - protected function get_direct_array() |
|
| 132 | - { |
|
| 131 | + protected function get_direct_array() |
|
| 132 | + {
|
|
| 133 | 133 | return array( |
| 134 | 134 | (object) array( |
| 135 | 135 | 'match' => '/', |
@@ -2,13 +2,13 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | Loader::load('controller', 'portfolio/DefaultPageController'); |
| 4 | 4 | |
| 5 | -class ResumeController extends DefaultPageController |
|
| 6 | -{ |
|
| 5 | +class ResumeController extends DefaultPageController |
|
| 6 | +{
|
|
| 7 | 7 | |
| 8 | 8 | protected $resume = 'resume-20160318.json'; |
| 9 | 9 | |
| 10 | - protected function set_head_data() |
|
| 11 | - { |
|
| 10 | + protected function set_head_data() |
|
| 11 | + {
|
|
| 12 | 12 | $this->set_title("Resume | Jacob Emerick's Portfolio"); |
| 13 | 13 | $this->set_description("Resume for Jacob Emerick, a software engineer extraordinaire"); |
| 14 | 14 | $this->set_keywords([ |
@@ -21,8 +21,8 @@ discard block |
||
| 21 | 21 | ]); |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - protected function set_body_data() |
|
| 25 | - { |
|
| 24 | + protected function set_body_data() |
|
| 25 | + {
|
|
| 26 | 26 | $this->set_body('body_view', 'Resume'); |
| 27 | 27 | |
| 28 | 28 | $resumePath = Loader::getRootURL('portfolio') . "/jsonresume/{$this->resume}"; |
@@ -2,19 +2,19 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | Loader::load('controller', '/PageController'); |
| 4 | 4 | |
| 5 | -abstract class DefaultPageController extends PageController |
|
| 6 | -{ |
|
| 5 | +abstract class DefaultPageController extends PageController |
|
| 6 | +{
|
|
| 7 | 7 | |
| 8 | - public function __construct() |
|
| 9 | - { |
|
| 8 | + public function __construct() |
|
| 9 | + {
|
|
| 10 | 10 | parent::__construct(); |
| 11 | 11 | |
| 12 | 12 | $this->add_css('reset'); |
| 13 | 13 | $this->add_css('portfolio', 4); |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | - protected function set_body_data() |
|
| 17 | - { |
|
| 16 | + protected function set_body_data() |
|
| 17 | + {
|
|
| 18 | 18 | $this->set_body('header_data', [ |
| 19 | 19 | 'menu' => $this->get_menu(), |
| 20 | 20 | 'home_link' => Loader::getRootURL(), |
@@ -24,8 +24,8 @@ discard block |
||
| 24 | 24 | $this->set_body_view('Page'); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - protected function get_menu() |
|
| 28 | - { |
|
| 27 | + protected function get_menu() |
|
| 28 | + {
|
|
| 29 | 29 | $menu = [ |
| 30 | 30 | [ |
| 31 | 31 | 'name' => 'About', |