- A lot of fixes made again in this patch
This commit is contained in:
1 parent
4df9ececba
commit
7fb591e1f5
12 files changed
+222
-52
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Annotation\Property;
|
||||
|
||||
class FilterJoin implements \Ulmus\Annotation\Annotation {
|
||||
|
||||
public string $method;
|
||||
|
||||
public function __construct(string $method = null)
|
||||
{
|
||||
if ( $method !== null ) {
|
||||
$this->method = $method;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Ulmus\Annotation\Property;
|
||||
|
||||
use Ulmus\Query;
|
||||
|
||||
class OrWhere extends Where {
|
||||
|
||||
public function __construct(/* ? Stringable */ $field = null, $value = null, ? string $operator = null, ? string $condition = null)
|
||||
{
|
||||
parent::__construct($field, $value, $operator, Query\Where::CONDITION_OR);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,6 +8,8 @@ class Relation implements \Ulmus\Annotation\Annotation {
|
||||
|
||||
public /*stringable*/ $key;
|
||||
|
||||
public /* callable */ $generateKey;
|
||||
|
||||
public /*stringable*/ $foreignKey;
|
||||
|
||||
public array $foreignKeys;
|
||||
|
||||
Reference in new issue
Block a user