diff --git a/src/Entities/FieldList.php b/src/Entities/FieldList.php new file mode 100644 index 0000000..851951f --- /dev/null +++ b/src/Entities/FieldList.php @@ -0,0 +1,10 @@ +getConnection()); } + public function field(): Field + { + return new Field($this->getConnection()); + } + public function subscriber(): Subscriber { return new Subscriber($this->getConnection()); diff --git a/src/Resources/Field.php b/src/Resources/Field.php new file mode 100644 index 0000000..29aaec1 --- /dev/null +++ b/src/Resources/Field.php @@ -0,0 +1,23 @@ +connection->requestAndParse( + 'GET', + 'field' + ); + + return new FieldList($data); + } +}