dev/src/GetComponentsTrait.php
private function getComponentManifest($manifestPath, $componentId)
    {
        $manifest = $this->getManifest($manifestPath);
        $index = $this->getManifestComponentModuleIndex($manifest, $componentId);

        return $manifest['modules'][$index];
    }
private function getComponentManifest($manifestPath, $componentId)
    {
        $manifest = $this->getManifest($manifestPath);
        $index = $this->getManifestComponentModuleIndex($manifest, $componentId);

        return $manifest['modules'][$index];
    }
private function getComponentManifest ( $ manifestPath , $ componentId ) { $ manifest = $ this -> getManifest ( $ manifestPath ) ; $ index = $ this -> getManifestComponentModuleIndex ( $ manifest , $ componentId ) ; return $ manifest [ 'modules' ] [ $ index ] ; }
Return manifest data for the given component.

@param string $manifestPath The path to the manifest.
@param string $componentId The component ID to fetch.
@return array
Return manifest data for the given component .