ICanBoogie
  • Documentation
  • API Reference
  • Session master
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 & __get( string $name ) : mixed

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 & get_reference( void ) : array

Return the segment reference.

Return the segment reference.

Returns

array
abstract protected get_flash( void ) : ICanBoogie\SessionFlash

Return a session flash.

Return a session flash.

Returns

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

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 $reference : array

A reference to the session array.

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