PHP Class Instagram\API\Request\CreateFriendshipRequest

Inheritance: extends AuthenticatedBaseRequest
Show file Open project: liamcottle/instagram-sdk-php Class Usage Examples

Protected Properties

Property Type Description
$userId

Public Methods

Method Description
__construct ( $instagram, $userId )
execute ( ) : CreateFriendshipResponse
getEndpoint ( )
getMethod ( )
getResponseObject ( )

Method Details

__construct() public method

public __construct ( $instagram, $userId )
$instagram Instagram
$userId string User Id

execute() public method

public execute ( ) : CreateFriendshipResponse
return Instagram\API\Response\CreateFriendshipResponse

getEndpoint() public method

public getEndpoint ( )

getMethod() public method

public getMethod ( )

getResponseObject() public method

public getResponseObject ( )

Property Details

$userId protected property

protected $userId