OXID eShop CE  6.2.3
OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService:

Public Member Functions

 __construct (ProjectYamlDaoInterface $projectYamlDao, BasicContextInterface $context)
 
 addImport (string $serviceDir)
 
 removeImport (string $serviceDir)
 
 removeNonExistingImports ()
 

Public Attributes

const SERVICE_FILE_NAME = 'services.yaml'
 

Private Member Functions

 getAbsolutePath ($fileName)
 
 getServiceRelativeFilePath (string $serviceDir)
 

Private Attributes

 $projectYamlDao
 
 $context
 

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::__construct ( ProjectYamlDaoInterface  $projectYamlDao,
BasicContextInterface  $context 
)

Member Function Documentation

◆ addImport()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::addImport ( string  $serviceDir)

◆ getAbsolutePath()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::getAbsolutePath (   $fileName)
private
Parameters
$fileName
Returns
string

◆ getServiceRelativeFilePath()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::getServiceRelativeFilePath ( string  $serviceDir)
private
Parameters
string$serviceDir
Returns
string

◆ removeImport()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::removeImport ( string  $serviceDir)

◆ removeNonExistingImports()

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::removeNonExistingImports ( )

Checks if the import files exist and if not removes them

Implements OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportServiceInterface.

Member Data Documentation

◆ $context

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::$context
private

◆ $projectYamlDao

OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::$projectYamlDao
private

◆ SERVICE_FILE_NAME

const OxidEsales\EshopCommunity\Internal\Framework\DIContainer\Service\ProjectYamlImportService::SERVICE_FILE_NAME = 'services.yaml'

The documentation for this class was generated from the following file: