You are here

public function SocialApiDataHandler::__construct in Social API 8.2

Same name and namespace in other branches
  1. 3.x src/SocialApiDataHandler.php \Drupal\social_api\SocialApiDataHandler::__construct()

Constructor.

Parameters

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: Used for reading data from and writing data to session.

File

src/SocialApiDataHandler.php, line 32

Class

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

Namespace

Drupal\social_api

Code

public function __construct(SessionInterface $session) {
  $this->session = $session;
}