lithium\storage\session\adapter\Memory::enabled PHP 메소드

enabled() 공개 정적인 메소드

This adapter is always enabled, as it has no external dependencies.
public static enabled ( ) : boolean
리턴 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());
 }