~ballot/wordpress/openstack-objectstorage-breaking-insight

« back to all changes in this revision

Viewing changes to vendor/sebastian/comparator/tests/_files/Author.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/*
 
3
 * This file is part of the Comparator package.
 
4
 *
 
5
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 
6
 *
 
7
 * For the full copyright and license information, please view the LICENSE
 
8
 * file that was distributed with this source code.
 
9
 */
 
10
 
 
11
namespace SebastianBergmann\Comparator;
 
12
 
 
13
/**
 
14
 * An author.
 
15
 *
 
16
 * @package    Comparator
 
17
 * @author     Bernhard Schussek <bschussek@2bepublished.at>
 
18
 * @copyright  Sebastian Bergmann <sebastian@phpunit.de>
 
19
 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
 
20
 * @link       http://www.github.com/sebastianbergmann/comparator
 
21
 */
 
22
class Author
 
23
{
 
24
    // the order of properties is important for testing the cycle!
 
25
    public $books = array();
 
26
 
 
27
    private $name = '';
 
28
 
 
29
    public function __construct($name)
 
30
    {
 
31
        $this->name = $name;
 
32
    }
 
33
}