transporter.php 384 B

12345678910111213141516171819202122
  1. <?php namespace Laravel\Session\Transporters;
  2. interface Transporter {
  3. /**
  4. * Get the session identifier for the request.
  5. *
  6. * @param array $config
  7. * @return string
  8. */
  9. public function get($config);
  10. /**
  11. * Store the session identifier for the request.
  12. *
  13. * @param string $id
  14. * @param array $config
  15. * @return void
  16. */
  17. public function put($id, $config);
  18. }