- First draft of current WIP
This commit is contained in:
commit
b73d046e0a
47 files changed
+2797
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Query;
|
||||
|
||||
abstract class Fragment {
|
||||
|
||||
public int $order = 0;
|
||||
|
||||
public abstract function render() : string;
|
||||
|
||||
protected function renderSegments(array $segments, string $glue = " ") : string
|
||||
{
|
||||
return implode($glue, array_filter($segments));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user