Location: PHPKode > projects > Spiral > ametaireau-spiral-272a2b1/framework/persistence/tests/fixtures/Discography.php
<?php

namespace spiral\framework\persistence\fixtures;

/**
 * Represent an artist discography
 * 
 * @author		Frédéric Sureau <hide@address.com>
 * @copyright	2009 Spiral-project.org <http://www.spiral-project.org>
 * @license		GNU General Public License <http://www.gnu.org/licenses/gpl.html>
 */
class Discography
{
	public $albums = array();
	
	public function addAlbum(Album $album)
	{
		$this->albums[] = $album;
	}
}
Return current item: Spiral