FeedEmbed
        
        extends JsonResource
    
    
            
            in package
            
        
    
    
            
            Uses
                            PhotoHasExtra,                             ShareFeedInfoTrait                    
    
Class PhotoEmbed.
Table of Contents
Properties
Methods
- toArray() : array<string|int, mixed>
 - Transform the resource collection into an array.
 - toFeedContent() : string|null
 - toLocation() : array<string|int, mixed>|null
 - getCustomExtra() : array<string, bool>
 - getFeedTransformContent() : string|null
 - parseFeedHashtags() : string
 - getSharedFeedInfos() : array<string|int, mixed>
 
Properties
$resource
    public
        Photo
    $resource
    
    
    
    
Methods
toArray()
Transform the resource collection into an array.
    public
                    toArray(Request $request) : array<string|int, mixed>
    Parameters
- $request : Request
 
Tags
Return values
array<string|int, mixed>toFeedContent()
    public
                    toFeedContent(HasFeedContent $item) : string|null
    Parameters
- $item : HasFeedContent
 
Return values
string|nulltoLocation()
    public
                    toLocation(HasLocationCheckin $item) : array<string|int, mixed>|null
    Parameters
- $item : HasLocationCheckin
 
Return values
array<string|int, mixed>|nullgetCustomExtra()
    protected
                    getCustomExtra() : array<string, bool>
    Tags
Return values
array<string, bool>getFeedTransformContent()
    protected
                    getFeedTransformContent(Content $feed) : string|null
    Parameters
- $feed : Content
 
Return values
string|nullparseFeedHashtags()
    protected
                    parseFeedHashtags(HasHashTag $feed, string $content) : string
    Parameters
- $feed : HasHashTag
 - $content : string
 
Return values
stringgetSharedFeedInfos()
    private
                    getSharedFeedInfos(User $context) : array<string|int, mixed>
    Parameters
- $context : User