Lines Matching refs:attribute
24 protected $attribute;
37 * @param string $attribute
41 public function __construct(string $attribute, bool $useReverseOrder = false, ?string $orderingRule = null)
43 $this->attribute = $attribute;
53 return $this->attribute;
57 * @param string $attribute
60 public function setAttribute(string $attribute)
62 $this->attribute = $attribute;
108 * @param string $attribute
112 public static function ascending(string $attribute, ?string $matchRule = null)
114 return new self($attribute, false, $matchRule);
120 * @param string $attribute
124 public static function descending(string $attribute, ?string $matchRule = null)
126 return new self($attribute, true, $matchRule);