public static function build($component, array $options = array()) { return $component->name . $component->parameters; }
public function testBuildArrayObj() { $component = new FunctionCall('func', new ArrayObj(array('a', 'b'))); $this->assertEquals('func(a, b)', FunctionCall::build($component)); }