mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-05-05 15:34:36 +02:00
Add PHP version of kata
This commit is contained in:
15
php/src/Performance.php
Normal file
15
php/src/Performance.php
Normal file
@@ -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