22 lines
326 B
PHP
22 lines
326 B
PHP
<?php
|
|
|
|
|
|
class Workout
|
|
{
|
|
public $creator, $title, $id;
|
|
|
|
/**
|
|
* Workout constructor.
|
|
* @param $creator
|
|
* @param $title
|
|
* @param $id
|
|
*/
|
|
public function __construct($creator, $title, $id)
|
|
{
|
|
$this->creator = $creator;
|
|
$this->title = $title;
|
|
$this->id = $id;
|
|
}
|
|
|
|
|
|
} |