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

namespace spiral\framework\di\fixtures;

/**
 * Represent an artist.
 * 
 * @author	Frédéric Sureau <hide@address.com>
 */
class Artist
{
	public $firstName = null;
	public $surName = null;
	public $nickname = null;
	public $birthdate = null;
	public $discography = null;

	public function __construct($firstName, $surName)
	{
		$this->firstName = $firstName;
		$this->surName = $surName;
	}
	
	public function setNickname($nickname)
	{
		$this->nickname = $nickname;
	}
	
	public function setBirthdate($birthdate)
	{
		$this->birthdate = $birthdate;
	}
	
	public function setDiscography(Discography $discography)
	{
		$this->discography = $discography;
	}
	
	public function setSongFinder(SongFinder $songFinder)
	{
		$this->songFinder = $songFinder;
	}
}
Return current item: Spiral