public function photo($source, $caption = null)
    {
        $this->response = $this->fb->post('/me/photos', [
            'source' => new FacebookFile($source),
            'caption' => $caption,
        ]);

        return $this;
    }
public function photo($source, $caption = null)
    {
        $this->response = $this->fb->post('/me/photos', [
            'source' => new FacebookFile($source),
            'caption' => $caption,
        ]);

        return $this;
    }
public function photo ( $ source , $ caption = null ) { $ this -> response = $ this -> fb -> post ( '/me/photos' , [ 'source' => new FacebookFile ( $ source ) , 'caption' => $ caption , ] ) ; return $ this ; }
Create a photo.

@param string $source
@param null|string $caption

@return $this
Create a photo .