Move bb_translate_video
- To new Class BBCode\Video - Adding tests - Make BaseObject::getClass() public
This commit is contained in:
parent
7f49c73730
commit
2870f42ca2
5 changed files with 80 additions and 20 deletions
|
@ -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.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue