http://phing.info/

Source Code Coverage

Designed for use with PHPUnit2, Xdebug and Phing.

Methods: 1 LOC: 36 Statements: 2
Legend: executednot executeddead code
Source file Statements Methods Total coverage
FixedSet.php 100.0% 100.0% 100.0%
 
1
<?php
2
/**
3
 * Xyster Framework
4
 *
5
 * This source file is subject to the new BSD license that is bundled
6
 * with this package in the file LICENSE.txt.
7
 * It is also available through the world-wide-web at this URL:
8
 * http://www.opensource.org/licenses/bsd-license.php
9
 *
10
 * @category  Xyster
11
 * @package   Xyster_Collection
12
 * @copyright Copyright LibreWorks, LLC (http://libreworks.net)
13
 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
14
 * @version   $Id: FixedSet.php 418 2010-10-18 21:40:08Z jonathanhawk $
15
 */
16
namespace Xyster\Collection;
17
/**
18
 * A set that cannot be changed
19
 *
20
 * @category  Xyster
21
 * @package   Xyster_Collection
22
 * @copyright Copyright LibreWorks, LLC (http://libreworks.net)
23
 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
24
 */
25
class FixedSet extends FixedCollection implements ISet
26
{
27
    /**
28
     * Creates a new fixed set
29
     *
30
     * @param ISet $delegate
31
     */
32
    public function __construct( ISet $delegate )
33
    {
34 12
        $this->_setDelegate($delegate);
35
    }
36 1
}


Report generated at 2010-10-18T17:19:49-04:00