Skip to content

Commit

Permalink
Changed basic IceHawkConfig example implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hollodotme committed Oct 4, 2016
1 parent a34a60f commit 076a14f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Expand Up @@ -81,20 +81,12 @@ All you need is at least one read or write route.

namespace YourVendor\YourProject;

use IceHawk\IceHawk\Defaults;
use IceHawk\IceHawk\Interfaces\ConfiguresIceHawk;
use IceHawk\IceHawk\Routing\ReadRoute;
use IceHawk\IceHawk\Routing\Patterns\Literal;
use YourVendor\YourProject\SayHelloRequestHandler;

final class IceHawkConfig implements ConfiguresIceHawk
final class IceHawkConfig extends \IceHawk\IceHawk\Defaults\IceHawkConfig
{
use Defaults\Traits\DefaultRequestInfoProviding;
use Defaults\Traits\DefaultWriteRouting;
use Defaults\Traits\DefaultEventSubscribing;
use Defaults\Traits\DefaultFinalReadResponding;
use Defaults\Traits\DefaultFinalWriteResponding;

public function getReadRoutes()
{
return [
Expand Down

0 comments on commit 076a14f

Please sign in to comment.