src/RNRocks/Repository/MeetupEventRepository.php
/**
     * Helper method to extract the group name from the given url.
     *
     * @param string $url
     * @return string
     */
Helper method to extract the group name from the given url.
@param string $url
@return string
Helper method to extract the group name from the given url . @param string $url @return string
private function extractGroupNameFromUrl($url)
    {
        $urlPath = parse_url(trim($url, '/'), PHP_URL_PATH);
        $urlPath = explode('/', $urlPath);
        $groupUrlName = array_pop($urlPath);
        return $groupUrlName;
    }
private function extractGroupNameFromUrl ( $ url ) { $ urlPath = parse_url ( trim ( $ url , '/' ) , PHP_URL_PATH ) ; $ urlPath = explode ( '/' , $ urlPath ) ; $ groupUrlName = array_pop ( $ urlPath ) ; return $ groupUrlName ; }
Helper method to extract the group name from the given url.
Helper method to extract the group name from the given url .