getAutoload() 공개 메소드

Returns the value of a flag used to determine whether plugins should be loaded automatically if they have not been explicitly loaded.
public getAutoload ( ) : boolean
리턴 boolean TRUE if autoloading is enabled, FALSE otherwise
예제 #1
0
 /**
  * Tests setAutoload().
  *
  * @depends testGetAutoloadDefaultsToNotAutoload
  * @return void
  */
 public function testSetAutoload()
 {
     $this->assertSame($this->handler->setAutoload(true), $this->handler, 'setAutoload() does not provide a fluent interface');
     $this->assertTrue($this->handler->getAutoload(), 'setAutoload() had no effect on getAutoload()');
 }
예제 #2
0
 /**
  * Ensures a newly instantiated handler does not default to autoload
  *
  * @return void
  */
 public function testDefaultsToNotAutoload()
 {
     $this->assertFalse($this->handler->getAutoload());
 }