EnvCategoryServiceSettings
in package
implements
CategoryServiceSettingsInterface
Class EnvCategoryServiceSettings
This class contains the file system path to the image directory by using specific constants which are defined in the config. It is used by the factory to build the proper service environment. By encapsulating this dependency the code becomes more explicit and testable.
Tags
Interfaces, Classes and Traits
- CategoryServiceSettingsInterface
- Interface CategoryServiceSettingsInterface
Table of Contents
- getImagesDirPath() : string
- Returns the path to image directory.
Methods
getImagesDirPath()
Returns the path to image directory.
public
getImagesDirPath() : string