ICanBoogie/Session master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Session

Classes

  • Flash
  • NormalizeOptions
  • Segment
  • SegmentCollection

Interfaces

  • CookieParams

Traits

  • FlashTrait
  • SegmentTrait

Trait SegmentTrait

Direct Known Users

ICanBoogie\Session, ICanBoogie\Session\Segment

Namespace: ICanBoogie\Session
Located at Session/SegmentTrait.php

Methods summary

public
# offsetExists( $offset )

Inheritdoc

public &
# offsetGet( $offset )

Inheritdoc

public
# offsetSet( $offset, $value )

Inheritdoc

public
# offsetUnset( $offset )

Inheritdoc

public mixed &
# __get( string $name )

Return a property value.

Return a property value.

Note: We override the method as to be able to return $reference as a reference and not a value.

Parameters

$name
Property name.

Returns

mixed
abstract protected array &
# get_reference( )

Return the segment reference.

Return the segment reference.

Returns

array
abstract protected ICanBoogie\SessionFlash
# get_flash( )

Return a session flash.

Return a session flash.

Returns

ICanBoogie\SessionFlash
abstract protected mixed
# accessor_get( string $property )

Returns the value of an inaccessible property.

Returns the value of an inaccessible property.

Parameters

$property

Returns

mixed

See

\ICanBoogie\Accessor\AccessorTrait::accessor_get()

Properties summary

Magic properties

public array $reference

A reference to the session array.

ICanBoogie/Session master API documentation generated by ApiGen