getArray() 공개 메소드

get the array
부터: 3.0.0
public getArray ( ) : array
리턴 array
예제 #1
0
 /**
  * testGetArray
  *
  * @since 3.0.0
  */
 public function testGetArray()
 {
     /* setup */
     $transport = new Assetic\Transport($this->_registry, $this->_language);
     /* actual */
     $actualArray = $transport->getArray();
     /* compare */
     $this->assertArrayHasKey('baseURL', $actualArray);
     $this->assertArrayHasKey('generator', $actualArray);
     $this->assertArrayHasKey('language', $actualArray);
     $this->assertArrayHasKey('registry', $actualArray);
     $this->assertArrayHasKey('version', $actualArray);
 }
예제 #2
0
 /**
  * get the transport
  *
  * @since 3.0.0
  *
  * @return string
  */
 public static function getTransport()
 {
     $transport = new Assetic\Transport(Registry::getInstance(), Language::getInstance());
     return $transport->getArray();
 }