Skip to content
Snippets Groups Projects
Module.php 1.61 KiB
Newer Older
Demian Katz's avatar
Demian Katz committed
<?php

/**
 * ZF2 module definition for the VF2 http service
Demian Katz's avatar
Demian Katz committed
 *
 * PHP version 5
 *
 * Copyright (C) Villanova University 2012, 2013.
Demian Katz's avatar
Demian Katz committed
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * @category VuFind2
 * @package  Http
Demian Katz's avatar
Demian Katz committed
 * @author   David Maus <maus@hab.de>
 * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @link     http://vufind.org
Demian Katz's avatar
Demian Katz committed
 */
namespace VuFindHttp;

/**
 * ZF2 module definition for the VF2 HTTP service.
 *
 * @category VuFind2
 * @package  Http
Demian Katz's avatar
Demian Katz committed
 * @author   David Maus <maus@hab.de>
 * @license  http://opensource.org/licenses/gpl-2.0.php GNU General Public License
 * @link     http://vufind.org
Demian Katz's avatar
Demian Katz committed
 */
class Module
{
    /**
     * Return autoloader configuration.
     *
     * @return array
     */
    public function getAutoloaderConfig()
Demian Katz's avatar
Demian Katz committed
    {
        return array(
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }

}