1<?php 2/** 3 * A base decorator definition. 4 * 5 * PHP version 5 6 * 7 * @category Kolab 8 * @package Kolab_Format 9 * @author Gunnar Wrobel <wrobel@pardus.de> 10 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 11 * @link http://www.horde.org/libraries/Horde_Kolab_Format 12 */ 13 14/** 15 * A base decorator definition. 16 * 17 * Copyright 2010-2016 Horde LLC (http://www.horde.org/) 18 * 19 * See the enclosed file COPYING for license information (LGPL). If you did not 20 * receive this file, see 21 * http://www.horde.org/licenses/lgpl21. 22 * 23 * @category Kolab 24 * @package Kolab_Format 25 * @author Gunnar Wrobel <wrobel@pardus.de> 26 * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 27 * @link http://www.horde.org/libraries/Horde_Kolab_Format 28 */ 29abstract class Horde_Kolab_Format_Decorator_Base 30implements Horde_Kolab_Format 31{ 32 /** 33 * The decorated Kolab format handler. 34 * 35 * @var Horde_Kolab_Format 36 */ 37 private $_handler; 38 39 /** 40 * Constructor. 41 * 42 * @param Horde_Kolab_Format $handler The handler to be decorated. 43 */ 44 public function __construct(Horde_Kolab_Format $handler) 45 { 46 $this->_handler = $handler; 47 } 48 49 /** 50 * Return the decorated handler. 51 * 52 * @return Horde_Kolab_Format The handler. 53 */ 54 public function getHandler() 55 { 56 return $this->_handler; 57 } 58}