Files
trueskill/src/FactorGraphs/Schedule.php

18 lines
314 B
PHP
Raw Normal View History

2022-07-05 15:55:47 +02:00
<?php
namespace DNW\Skills\FactorGraphs;
2010-09-30 08:25:31 -04:00
2022-07-05 16:21:06 +02:00
abstract class Schedule implements \Stringable
{
2022-07-05 16:21:06 +02:00
protected function __construct(private $_name)
{
}
2022-07-05 15:55:47 +02:00
abstract public function visit($depth = -1, $maxDepth = 0);
2022-07-05 16:21:06 +02:00
public function __toString(): string
{
2022-07-05 16:21:06 +02:00
return (string) $this->_name;
}
2022-07-05 15:55:47 +02:00
}