lithium\storage\session\adapter\Memory::enabled PHP Method

enabled() public static method

This adapter is always enabled, as it has no external dependencies.
public static enabled ( ) : boolean
return boolean True
    public static function enabled()
    {
        return true;
    }

Usage Example

 /**
  * This adapter is always enabled by default as it does not rely on any external
  * dependencies.
  */
 public function testEnabled()
 {
     $this->assertTrue(Memory::enabled());
 }