Piwik\Plugins\Goals\Reports\Base::getIdSiteFromInfos PHP Method

getIdSiteFromInfos() protected method

protected getIdSiteFromInfos ( $infos )
    protected function getIdSiteFromInfos($infos)
    {
        $idSite = $infos['idSite'];
        if (empty($idSite)) {
            return null;
        }
        return $idSite;
    }