protected function siteResourceMapper($resourceId)
    {
        if (!$this->resourceName->isSitesResourceId($resourceId)) {
            return null;
        }

        $sitesResourceId = $this->resourceName->get(self::RESOURCE_SITES);

        $return = [
            'resourceId' => $resourceId,
            'parentResourceId' => $sitesResourceId,
        ];

        return array_merge(
            $this->resources[self::RESOURCE_SITES],
            $return
        );
    }
protected function siteResourceMapper($resourceId)
    {
        if (!$this->resourceName->isSitesResourceId($resourceId)) {
            return null;
        }

        $sitesResourceId = $this->resourceName->get(self::RESOURCE_SITES);

        $return = [
            'resourceId' => $resourceId,
            'parentResourceId' => $sitesResourceId,
        ];

        return array_merge(
            $this->resources[self::RESOURCE_SITES],
            $return
        );
    }
protected function siteResourceMapper ( $ resourceId ) { if ( ! $ this -> resourceName -> isSitesResourceId ( $ resourceId ) ) { return null ; } $ sitesResourceId = $ this -> resourceName -> get ( self :: RESOURCE_SITES ) ; $ return = [ 'resourceId' => $ resourceId , 'parentResourceId' => $ sitesResourceId , ] ; return array_merge ( $ this -> resources [ self :: RESOURCE_SITES ] , $ return ) ; }
Site Resource Mapper

@param string $resourceId Resource Id to search

@return array|null
Site Resource Mapper