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

Class SegmentCollection

A collection of session segments.

ICanBoogie\Session\SegmentCollection implements ArrayAccess, IteratorAggregate
Namespace: ICanBoogie\Session
Located at Session/SegmentCollection.php

Methods summary

public __construct( ICanBoogie\Session $session )

Parameters

$session
public getIterator( void )

Inheritdoc

Implementation of

IteratorAggregate::getIterator()
public offsetExists( $segment_name )

Inheritdoc

Implementation of

ArrayAccess::offsetExists()
public offsetGet( $segment_name )

Inheritdoc

Implementation of

ArrayAccess::offsetGet()
public offsetSet( $segment_name, $value )

Throws

ICanBoogie\OffsetNotWritable
in attempt to write on a segment.

Inheritdoc

Implementation of

ArrayAccess::offsetSet()
public offsetUnset( $segment_name )

Inheritdoc

Implementation of

ArrayAccess::offsetUnset()
Session master – Check on GitHub – API documentation generated by ApiGen