| 1 | <?php  | 
            ||
| 13 | class ColorTeam implements TeamInterface  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * The color of the team  | 
            ||
| 17 | *  | 
            ||
| 18 | * @var string  | 
            ||
| 19 | */  | 
            ||
| 20 | protected $color;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * Define a new ColorTeam  | 
            ||
| 24 | * @param string $color The color of the team  | 
            ||
| 25 | */  | 
            ||
| 26 | public function __construct($color)  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Get a unique identifier for the team  | 
            ||
| 33 | *  | 
            ||
| 34 | * @return string  | 
            ||
| 35 | */  | 
            ||
| 36 | public function getId()  | 
            ||
| 40 | |||
| 41 | /**  | 
            ||
| 42 |      * {@inheritdoc} | 
            ||
| 43 | */  | 
            ||
| 44 | public function getName()  | 
            ||
| 48 | |||
| 49 | public function getAvatar()  | 
            ||
| 53 | }  | 
            ||
| 54 |