Arsse/lib/Factory.php
2021-04-14 11:17:01 -04:00

14 lines
265 B
PHP

<?php
/** @license MIT
* Copyright 2017 J. King, Dustin Wilson et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
namespace JKingWeb\Arsse;
class Factory {
public function get(string $class) {
return new $class;
}
}