1
0
Fork 0

Move bb_translate_video

- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
This commit is contained in:
Philipp Holzer 2019-10-23 00:14:47 +02:00
commit 2870f42ca2
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 80 additions and 20 deletions

View file

@ -54,7 +54,7 @@ class BaseObject
*
* @throws InternalServerErrorException
*/
protected static function getClass(string $name)
public static function getClass(string $name)
{
if (empty(self::$dice)) {
throw new InternalServerErrorException('DICE isn\'t initialized.');