. // }}} /** * Transform between string and list of typed profiles * * @package GNUsocial * @category Form * * @author Hugo Sales * @copyright 2020 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ namespace App\Util\Form; class ActorArrayTransformer extends ArrayTransformer { /** * @param array $a * * @return string */ public function transform($a) { // TODO convert each to string $s = parent::transform($a); } /** * @param string $s * * @return array */ public function reverseTransform($s) { $a = parent::reverseTransform($s); // TODO convert each to profile } }