mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-06-24 10:56:34 +02:00
Add PHP version of kata
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Theatrical;
|
||||
|
||||
class Performance
|
||||
{
|
||||
public string $play_id;
|
||||
public int $audience;
|
||||
|
||||
public function __construct($play_id, $audience)
|
||||
{
|
||||
$this->play_id = $play_id;
|
||||
$this->audience = $audience;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user