MCPcopy Create free account
hub / github.com/denho/faved / buildPublicUserObject

Function buildPublicUserObject

utils/util-functions.php:273–281  ·  view source on GitHub ↗
(array $user)

Source from the content-addressed store, hash-verified

271}
272
273function buildPublicUserObject(array $user): array
274{
275 return [
276 ...array_intersect_key(
277 $user,
278 array_flip(['id', 'username', 'created_at', 'updated_at'])
279 ),
280 ];
281}
282
283function getItemImageLocalPath($image_url, $item_id): string
284{

Callers 3

__invokeMethod · 0.85
__invokeMethod · 0.85
__invokeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected