- A lot of fixes made again in this patch

This commit is contained in:
Dave Mc Nicoll committed 2021-05-24 20:03:38 +00:00
1 parent 4df9ececba
commit 7fb591e1f5
12 files changed
+222 -52

No files matched your search

+15
View File
@@ -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;
}
}
}
+14
View File
@@ -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);
}
}
+2
View File
@@ -8,6 +8,8 @@ class Relation implements \Ulmus\Annotation\Annotation {
public /*stringable*/ $key;
public /* callable */ $generateKey;
public /*stringable*/ $foreignKey;
public array $foreignKeys;