class AvatarCropperInstanceFactory implements ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from  ApplicationAwareTrait
protected $tokenService
protected $config

Methods

setApplication(Application $app)

Setter method for the application

__construct(Token $tokenService, Repository $config)

No description

string
getAccessTokenString()

No description

createInstanceFromRequest(Request $request)

No description

bool
instanceMatchesAccessToken(AvatarCropperInstance $instance, string $accessToken)

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct(Token $tokenService, Repository $config)

No description

Parameters

Token $tokenService
Repository $config

protected string getAccessTokenString()

No description

Return Value

string

AvatarCropperInstance createInstance()

No description

Return Value

AvatarCropperInstance

createInstanceFromRequest(Request $request)

No description

Parameters

Request $request

bool instanceMatchesAccessToken(AvatarCropperInstance $instance, string $accessToken)

No description

Parameters

AvatarCropperInstance $instance
string $accessToken

Return Value

bool