build() 공개 정적인 메소드

public static build ( OrderKeyword | OrderKeyword[] $component, array $options = [] ) : string
$component OrderKeyword | OrderKeyword[] The component to be built.
$options array Parameters for building.
리턴 string
예제 #1
0
 public function testBuild()
 {
     $this->assertEquals(OrderKeyword::build(array(new OrderKeyword(new Expression('a'), 'ASC'), new OrderKeyword(new Expression('b'), 'DESC'))), 'a ASC, b DESC');
 }