protected function dynamicResourceMapper($resourceId)
    {
        // Page Resource Mapper
        $resource = $this->pageResourceMapper($resourceId);

        if (!empty($resource)) {
            return $resource;
        }

        $resource = $this->siteResourceMapper($resourceId);

        if (!empty($resource)) {
            return $resource;
        }

        return null;
    }
protected function dynamicResourceMapper($resourceId)
    {
        // Page Resource Mapper
        $resource = $this->pageResourceMapper($resourceId);

        if (!empty($resource)) {
            return $resource;
        }

        $resource = $this->siteResourceMapper($resourceId);

        if (!empty($resource)) {
            return $resource;
        }

        return null;
    }
protected function dynamicResourceMapper ( $ resourceId ) { // Page Resource Mapper $ resource = $ this -> pageResourceMapper ( $ resourceId ) ; if ( ! empty ( $ resource ) ) { return $ resource ; } $ resource = $ this -> siteResourceMapper ( $ resourceId ) ; if ( ! empty ( $ resource ) ) { return $ resource ; } return null ; }
Dynamic Resource Mapper for Get Resource

@param string $resourceId Dynamic Resource ID to generate

@return array|null
Dynamic Resource Mapper for Get Resource