Skip to content

Commit

Permalink
Adds basic controller vision
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobemerick committed Apr 16, 2016
1 parent 578f899 commit eca80c1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace Jacobemerick\CommentService;

use Psr\Http\Message\RequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;

class Comments
{

public function __construct() {}

public function getComments(Request $request, Response $response)
{
echo 'yay get comments called';
}

public function createComment(Request $request, Response $response)
{
echo 'yay create comments called';
}
}

0 comments on commit eca80c1

Please sign in to comment.