Bug 9479: The member notices page doesn't display dates in the syspref format
[koha.git] / Koha / SearchEngine.pm
1 package Koha::SearchEngine;
2
3 use Moose;
4 use C4::Context;
5 use Koha::SearchEngine::Config;
6
7 has 'name' => (
8     is => 'ro',
9     default => sub {
10         C4::Context->preference('SearchEngine');
11     }
12 );
13
14 has config => (
15     is => 'rw',
16     lazy => 1,
17     default => sub {
18         Koha::SearchEngine::Config->new;
19     }
20 #    lazy => 1,
21 #    builder => '_build_config',
22 );
23
24 #sub _build_config {
25 #    my ( $self ) = @_;
26 #    Koha::SearchEngine::Config->new( $self->name );
27 #);
28
29 1;