src/Route.php
private static function makeEndpoints($endpoints)
    {
        if (is_string($endpoints)) {
            return self::makeEndpointsFromString($endpoints, self::ROUTE_METHODS);
        }

        return $endpoints;
    }
private static function makeEndpoints($endpoints)
    {
        if (is_string($endpoints)) {
            return self::makeEndpointsFromString($endpoints, self::ROUTE_METHODS);
        }

        return $endpoints;
    }
private static function makeEndpoints ( $ endpoints ) { if ( is_string ( $ endpoints ) ) { return self :: makeEndpointsFromString ( $ endpoints , self :: ROUTE_METHODS ) ; } return $ endpoints ; }
Creates a valid array of required endpoints

@param string $endpoints
@return Array
Creates a valid array of required endpoints