23 lines
491 B
PHP
Executable File
23 lines
491 B
PHP
Executable File
<?php
|
|
namespace App\Services;
|
|
use App\Models\Freenode;
|
|
|
|
class ServicesFreenodeSync {
|
|
|
|
// public static function strToNames($sTagsStr)
|
|
// {
|
|
//
|
|
// $sTagsStr = substr($sTagsStr, 1, -1);
|
|
// $aTagsId = explode('][', $sTagsStr);
|
|
// $aTagsMap = Tags::all()->toArray();
|
|
//
|
|
// foreach ($aTagsId as $aTagsIdRow) {
|
|
// $aTagNames[] = $aTagsMap[$aTagsIdRow-1];
|
|
// }
|
|
//
|
|
// return $aTagNames;
|
|
//
|
|
// }
|
|
|
|
}
|