File Management and Helpers
-
Introduces the concept of a Helper service. Similar to
getDataRepository()
, AbstractSite defines and CoreSite implements agetHelper()
method to allow components like Controllers, Repositories, and othe Helpers to request an instance of a Helper to manage common tasks. -
Pipit Core's first implementation of a Helper is the FileManager for managing of file uploads and manipulation on the file system.
-
Apps can define their own Helpers by placing classes that extend
Core\Classes\Helpers\AbstractHelper
inApps\Classes\Helpers