Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed unused class

  • Loading branch information...
commit 32e279f8ed773ff218b87b1ca9234377c1e9245d 1 parent 8e9c6bc
@dann authored
Showing with 0 additions and 24 deletions.
  1. +0 −24 angelos-core/lib/Angelos/ServiceLocator.pm
View
24 angelos-core/lib/Angelos/ServiceLocator.pm
@@ -1,24 +0,0 @@
-package Angelos::ServiceLocator;
-use strict;
-use warnings;
-use base 'Class::Singleton';
-
-sub _new_instance {
- my $class = shift;
- my $self = bless {}, $class;
- my $app_class = shift;
- $self->{services} = +{};
- return $self;
-}
-
-sub get_service {
- my ( $self, $key ) = @_;
- $self->{services}->{$key};
-}
-
-sub load_service {
- my ( $self, $key, $obj ) = @_;
- $self->{services}->{$key} = $obj;
-}
-
-1;
Please sign in to comment.
Something went wrong with that request. Please try again.