PHP Class Puli\Manager\Module\RootModuleFileConverter

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: extends ModuleFileConverter
显示文件 Open project: puli/manager

Public Methods

Method Description
fromJson ( $jsonData, array $options = [] )
toJson ( $moduleFile, array $options = [] )

Protected Methods

Method Description
addJsonToRootModuleFile ( stdClass $jsonData, RootModuleFile $moduleFile )
addRootModuleFileToJson ( RootModuleFile $moduleFile, stdClass $jsonData )

Private Methods

Method Description
objectsToArrays ( $data )

Method Details

addJsonToRootModuleFile() protected method

protected addJsonToRootModuleFile ( stdClass $jsonData, RootModuleFile $moduleFile )
$jsonData stdClass
$moduleFile Puli\Manager\Api\Module\RootModuleFile

addRootModuleFileToJson() protected method

protected addRootModuleFileToJson ( RootModuleFile $moduleFile, stdClass $jsonData )
$moduleFile Puli\Manager\Api\Module\RootModuleFile
$jsonData stdClass

fromJson() public method

public fromJson ( $jsonData, array $options = [] )
$options array

toJson() public method

public toJson ( $moduleFile, array $options = [] )
$options array