diff --git a/src/Contracts/InteractsWithEndpoints.php b/src/Contracts/InteractsWithEndpoints.php index a26b094..242bc1b 100644 --- a/src/Contracts/InteractsWithEndpoints.php +++ b/src/Contracts/InteractsWithEndpoints.php @@ -6,9 +6,12 @@ use AdroSoftware\UnbounceSdk\Endpoint\{ Accounts\Accounts, + Pages\Pages, }; interface InteractsWithEndpoints { public function accounts(): Accounts; + + public function pages(): Pages; } diff --git a/src/Unbounce.php b/src/Unbounce.php index 72ef1db..7974fe1 100644 --- a/src/Unbounce.php +++ b/src/Unbounce.php @@ -7,6 +7,7 @@ use AdroSoftware\UnbounceSdk\Contracts\InteractsWithEndpoints; use AdroSoftware\UnbounceSdk\Endpoint\{ Accounts\Accounts, + Pages\Pages, }; final class Unbounce extends AbstractClient implements InteractsWithEndpoints @@ -22,4 +23,9 @@ public function accounts(): Accounts { return new Accounts($this); } + + public function pages(): Pages + { + return new Pages($this); + } }