Merge pull request #32 from tlerbao/patch-3

Update HeaderItem.php
This commit is contained in:
JaguarJack 2021-05-12 16:19:39 +08:00 committed by GitHub
commit d72f4b1509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,13 @@ class HeaderItem
return $this; return $this;
} }
public function align(string $align): HeaderItem
{
$this->attributes['align'] = $align;
return $this;
}
public function actions(array $actions): HeaderItem public function actions(array $actions): HeaderItem
{ {
@ -143,4 +150,4 @@ class HeaderItem
{ {
return $this->{$key}; return $this->{$key};
} }
} }