You are here

class DataHandler in Social Post 3.x

Same name and namespace in other branches
  1. 8.2 src/DataHandler.php \Drupal\social_post\DataHandler

Variables are written to and read from session via this class.

Hierarchy

Expanded class hierarchy of DataHandler

1 file declares its use of DataHandler
OAuth2ControllerBase.php in src/Controller/OAuth2ControllerBase.php
1 string reference to 'DataHandler'
social_post.services.yml in ./social_post.services.yml
social_post.services.yml
1 service uses DataHandler
social_post.data_handler in ./social_post.services.yml
Drupal\social_post\DataHandler

File

src/DataHandler.php, line 10

Namespace

Drupal\social_post
View source
class DataHandler extends SocialApiDataHandler {

}

Members

Namesort descending Modifiers Type Description Overrides
SocialApiDataHandler::$session protected property The session service.
SocialApiDataHandler::$sessionPrefix protected property The prefix each session variable will have.
SocialApiDataHandler::get public function Gets a session variable by key.
SocialApiDataHandler::getSessionPrefix public function Gets the session prefix for the data handler.
SocialApiDataHandler::set public function Sets a new session variable.
SocialApiDataHandler::setSessionPrefix public function Sets the session prefix for the data handler.
SocialApiDataHandler::__construct public function Constructor.