ICanBoogie
  • Documentation
  • API Reference
  • Session master
Namespaces
  • ICanBoogie
    • Session
Classes
  • Flash
  • NormalizeOptions
  • Segment
  • SegmentCollection
Interfaces
  • CookieParams
Traits
  • FlashTrait
  • SegmentTrait

Class Segment

A session segment.

ICanBoogie\Session\Segment implements ICanBoogie\SessionSegment uses ICanBoogie\Accessor\AccessorTrait (not available) ICanBoogie\Session\SegmentTrait
Namespace: ICanBoogie\Session
Located at Session/Segment.php

Methods summary

protected get_flash( void ) : ICanBoogie\SessionFlash

Returns

ICanBoogie\SessionFlash
protected & get_reference( void )

Inheritdoc

public __construct( string $segment_name, ICanBoogie\Session $session )

Parameters

$segment_name
$session
public clear( void )

Inheritdoc

Implementation of

ICanBoogie\SessionSegment::clear()

Methods inherited from ArrayAccess

offsetExists(), offsetGet(), offsetSet(), offsetUnset()

Methods used from ICanBoogie\Session\SegmentTrait

__get(), accessor_get(), offsetExists(), offsetGet(), offsetSet(), offsetUnset()

Properties summary

Magic properties

public $reference : array

A reference to the segment in the session.

public $flash : ICanBoogie\SessionFlash

The session segment flash.

Session master – Check on GitHub – API documentation generated by ApiGen