JRA, PHP cAPI interface
  • Namespace
  • Class
  • Tree

Namespaces

  • JRA
    • Abstracts
    • Commands
      • Invokers
      • Methods
        • Content
        • Token
        • User
      • Routes
    • ComposerHandler
    • Config
      • Helper
    • Exceptions
    • Facades
    • Factories
    • Interfaces
    • Objects
      • Response
        • Data
    • Responsibilities
      • Handlers
      • Responsible
        • Login
        • Logout

Classes

  • AbstractLoginHandler
  • AbstractLogoutHandler

Class AbstractLoginHandler

Direct known subclasses

JRA\Responsibilities\Responsible\Login\HeaderTokenLogin, JRA\Responsibilities\Responsible\Login\TokenLogin, JRA\Responsibilities\Responsible\Login\UserCredentialsLogin

Abstract
Namespace: JRA\Responsibilities\Handlers
Located at Responsibilities/Handlers/AbstractLoginHandler.php

Methods summary

final public
# append( JRA\Responsibilities\Handlers\AbstractLoginHandler $pHandler )

Appends an new successor, which will be added to the end ob the chain.

Appends an new successor, which will be added to the end ob the chain.

Parameters

$pHandler
The successor which should will be appended.
final public boolean|stdClass
# handle( JRA\Interfaces\ConfigInterface $pConfig, JRA\Factories\InternalFactory $pInternalFactory )

Starts processing the current object and start handling the next if the current one failed.

Starts processing the current object and start handling the next if the current one failed.

Parameters

$pConfig
The configuration which is used to make the requests.
$pInternalFactory
The factory which is responsible for the internal object creation.

Returns

boolean|stdClass
Return false on failure, otherwise it will return a stdClass object which contains the response of the request.
abstract protected boolean|stdClass
# process( JRA\Interfaces\ConfigInterface $pConfig, JRA\Factories\InternalFactory $pInternalFactory )

Each chain needs to fill this function with it's own actions. This function contains the functionality of each chain.

Each chain needs to fill this function with it's own actions. This function contains the functionality of each chain.

Parameters

$pConfig
The configuration which is used to make the request.
$pInternalFactory
The factory which is responsible for the internal object creation.

Returns

boolean|stdClass
true if the request has been processed, false otherwise
JRA, PHP cAPI interface API documentation generated by ApiGen