1: <?php
2: namespace Application\Model\Service;
3: use Define\Core\BaseService;
4:
5: /**
6: * APPLICATION SERVICE
7: *
8: * This is the base service class for application to be developed. Extends BaseService class.
9: * Override or add default methods for your application.
10: *
11: * @category Application
12: * @package Model\Service
13: * @author Nitesh Apte <me@niteshapte.com>
14: * @copyright 2015 Nitesh Apte
15: * @version 1.0.0
16: * @since 1.0.0
17: * @license https://www.gnu.org/licenses/gpl.txt GNU General Public License v3
18: *
19: * This program is free software: you can redistribute it and/or modify
20: * it under the terms of the GNU General Public License as published by
21: * the Free Software Foundation, either version 3 of the License, or
22: * (at your option) any later version.
23: *
24: * This program is distributed in the hope that it will be useful,
25: * but WITHOUT ANY WARRANTY; without even the implied warranty of
26: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27: * GNU General Public License for more details.
28: *
29: * You should have received a copy of the GNU General Public License
30: * along with this program. If not, see <http://www.gnu.org/licenses/>.
31: */
32: class ApplicationService extends BaseService {
33:
34: protected $logger;
35:
36: public function __construct() {
37: parent::__construct();
38: $this->logger = $this->container->offsetGet('LOGGER');
39: }
40: }