Photo
        
        extends Facade
    
    
            
            in package
            
        
    
    
    
Class Photo.
Tags
Table of Contents
Methods
- createPhoto() : array<string|int, int>
- isVideoAllow() : bool
- transformDataForFeed() : array<string|int, mixed>
- getFacadeAccessor() : mixed
Methods
createPhoto()
    public
            static        createPhoto(User $context, User $owner, array<string|int, mixed> $attributes, int $contextType = Album::TIMELINE_ALBUM) : array<string|int, int>
    : array
Parameters
- $context : User
- $owner : User
- $attributes : array<string|int, mixed>
- $contextType = Album::TIMELINE_ALBUM : int
Return values
array<string|int, int>isVideoAllow()
    public
            static        isVideoAllow() : bool
    Return values
booltransformDataForFeed()
    public
            static        transformDataForFeed(array<string|int, mixed> $params) : array<string|int, mixed>
    Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed>getFacadeAccessor()
    protected
            static        getFacadeAccessor() : mixed