PHP Webiny\Component\Rest\Interfaces 네임스페이스

Interfaces

이름 설명
AccessInterface Implement access interface if you don't wish that Rest component automatically handles the access control checks for you.
CacheKeyInterface Rest component creates cache key from: - url path - query parameters - http method - post parameters - payload parameters - api version (we use the actual version number, not the aliases like current, and latest)
CrudInterface Implementing this interface you will get the basic CRUD methods and behavior described below:
MiddlewareInterface Implement middleware interface if you want to handle Rest method execution for yourself.
VersionInterface Implement this interface on your api class when you wish to control api versions.